client.attachments.getOffers()
Sellers stocking this attachment. Link out through clickUrl with each offer's clickId so the seller can see the visit came from you.
getOffers(id: string, params?: OffersParams): Promise<APIResponse<PublicOffer[]>>- stringHeadererforderlich
Ihr API-Schlüssel.
Authorization: Bearer <key>wird ebenfalls akzeptiert.
- stringerforderlich
Attachment slug
- Akzeptiert
- a lowercase slug: letters, digits and hyphens
- Beispiel
- string
ISO 3166-1 alpha-2 code; hides sellers who do not ship there
- Beispiel
- PublicOffer[]
The response payload.
- object
The shop stocking the part.
- string
Slug of the shop.
- string
Display name, as the maker writes it.
- string | null
Official website, where one is known.
- string | null
Absolute URL of the logo, or null where none is on file.
- 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. - integer
Price in integer minor units of
currency, so cents for AUD. Never a float. Format withIntl.NumberFormatat render rather than dividing first. - 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
Absolute, directly fetchable URL.
- boolean
Whether the shop reports it in stock. Derived from
stockQtywhere the shop tracks a count. - string | null
Opaque token for the outbound link: send readers to
/v1/out/{clickId}so the visit is counted for the seller. Null on a listing that cannot currently be followed. - string | null
ISO 3166-1 alpha-2 code the seller ships to. Null means they state no restriction.
- string
When the seller last refreshed this listing. A listing not refreshed inside its freshness window is hidden rather than shown stale.
- 400
VALIDATION_ERROR - 401
UNAUTHORIZED - 403
FORBIDDEN - 404
NOT_FOUND - 429
RATE_LIMITED - 500
INTERNAL_ERROR
- Mindeststufe
- Explorer+
- Monatskontingent
- 200/mo
- Anfragerate
- 10/min
- Tageslimit
- 50
Die Werte gelten für die Mindeststufe dieses Endpunkts. Höhere Stufen erhöhen alle Limits.