client.vendor.updateOffer()
Change one listing. Absent fields are unchanged.
updateOffer(sku: string, input: UpdateOfferInput, scope?: VendorScope): Promise<APIResponse<{ sku: string }>>- stringHeadererforderlich
Ihr API-Schlüssel.
Authorization: Bearer <key>wird ebenfalls akzeptiert.
- stringerforderlich
Your own SKU for the offer
- Beispiel
- string
Which of your shops to act for. Required only when one key is named by more than one shop;
GET /v1/vendor/shopslists them- Max. Länge
- 64
- Beispiel
- integer
New price in integer minor units of
currency. A float is refused. - string
ISO 4217 code the price is in, e.g.
AUD. Prices are integer minor units; format withIntl.NumberFormatat render rather than dividing first. - string
Product page on your shop. Must be a full https:// address; any other scheme is refused.
- integer
Units you hold: 0 is out of stock, null is not tracked. Send this or
in_stock, never both: a row carrying a quantity derives its flag from it. - boolean
Stock flag, for a shop that does not count units. Send this or
stock_qty, never both. - string | null
ISO 3166-1 alpha-2 code you ship to. Null states no restriction.
- string
Set
publishedto show the listing on public pages, ordraftto take it off them while keeping it.
- object
The response payload.
- string
The shop's own catalogue key for the listing. A seller's identifier, not ours: it is what
PATCH /v1/vendor/offers/{sku}addresses.
- 400
VALIDATION_ERROR - 401
UNAUTHORIZED - 403
FORBIDDEN - 404
NOT_FOUND - 413
PAYLOAD_TOO_LARGE - 429
RATE_LIMITED - 500
INTERNAL_ERROR
- Mindeststufe
- Enterprise
- Monatskontingent
- 1,000,000/mo
- Anfragerate
- 300/min
- Tageslimit
- 50,000
Die Werte gelten für die Mindeststufe dieses Endpunkts. Höhere Stufen erhöhen alle Limits.