Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Update one of the seller’s offers.
curl -X POST 'http://localhost:9000/vendor/offers/offer_01HXYZ' \ -H 'Authorization: Bearer <token>' \ -H 'x-seller-id: <seller_id>' \ -H 'Content-Type: application/json' \ -d '{"prices": [{ "id": "price_01HXYZ", "amount": 2300, "currency_code": "usd" }]}'
const { offer } = await client.vendor.offers.$id.mutate({ $id: "offer_01HXYZ", prices: [{ id: "price_01HXYZ", amount: 2300, currency_code: "usd" }], })
{ "offer": { "id": "offer_01HXYZ", "sku": "ACME-SHIRT-M", "manage_inventory": true, "allow_backorder": false, "prices": [ { "id": "price_01HXYZ", "amount": 2300, "currency_code": "usd" } ] } }
false
id
Show properties
usd