Skip to main content
PATCH
Edit one of your gift-card listings

Autorisierungen

Authorization
string
header
erforderlich

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

Pfadparameter

id
string<uuid>
erforderlich

Body

application/json

Every field optional; absent means "leave unchanged".

title
string
Required string length: 8 - 128
description
string
Maximum string length: 4096
price
integer<int64>

US cents.

images
string<uri>[]

Replaces the whole gallery.

Maximum array length: 10
tags
string[]

Replaces the whole list. Same limits as on create.

attributes
object

Replaces the whole map — send every field, not only the changed one.

delivery_method
string

A key from GET /v1/offers/delivery-methods — activation_code.

Antwort

OK

What every category's listing carries, whatever it sells.

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.

Verfügbare Optionen:
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.

Verfügbare Optionen:
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.

price
integer<int64>

US cents.

currency
string

Always USD.

Beispiel:

"USD"

images
string<uri>[]
delivery_method
string | null

The key this listing hands over by.