Skip to main content
POST
Unpublish one of your currency listings

授权

Authorization
string
header
必填

Your API key, from the cabinet under Seller → API keys.

路径参数

id
string<uuid>
必填

响应

OK

How a listing sold by hand promises to hand over.

id
string<uuid>
title
string
description
string
attributes
object

The category's own fields, keyed by the schema's key.

tags
string[]
status
enum<string>

draft on create, then active once you publish it; unpublish takes it back to draft. archived is yours too, through DELETE. sold follows an order: the last unit went to a closed one. changes_requested is moderation sending a live listing back: it is off the marketplace, moderation_reason_code says why, and your next PATCH makes it a draft to publish again.

可用选项:
draft,
active,
changes_requested,
sold,
archived
created_at
string<date-time> | null
updated_at
string<date-time> | null
published_at
string<date-time> | null

When publish put it on the marketplace. null while it is a draft, and written once — pausing and unpausing leave it alone.

moderation_reason_code
enum<string> | null

Why moderation asked for changes. Kept through the PATCH that makes the listing a draft, null once it is published again.

可用选项:
prohibited_item,
misleading_description,
stolen_images,
invalid_price,
insufficient_details,
other,
null
moderation_note
string | null

What moderation wrote to you along with the reason, if anything.

manual_delivery_value
integer<int32> | null

The handover time promised, read together with the unit — 2 and hours.

manual_delivery_unit
enum<string> | null

What the value counts. Both are null on a listing delivered instantly.

可用选项:
minutes,
hours,
days,
null
currency
string

Always USD.

示例:

"USD"

product_id
string<uuid> | null

The product this listing sells, from GET .../products.

price_per_unit
integer<int64> | null

US cents per one of the product's scale.

stock_quantity
integer<int64> | null

What is left, in that same scale.

min_order_quantity
integer<int64> | null

The smallest order this listing takes.

delivery_method
string | null

The key this listing hands over by.

delivery_instructions
string

What the buyer is told to do at handover.