Skip to main content
POST
/
vendor
/
offers
/
{id}
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" }]}'
{
  "offer": {
    "id": "offer_01HXYZ",
    "sku": "ACME-SHIRT-M",
    "prices": [
      { "id": "price_01HXYZ", "amount": 2300, "currency_code": "usd" }
    ]
  }
}
Updates the offer directly (no change request) and returns the refreshed offer.

Path parameters

id
string
required
The offer’s ID.

Body parameters

sku
string
The seller’s SKU for this listing.
shipping_profile_id
string
ID of the shipping profile used to fulfill the offer.
prices
object[]
Prices to upsert; include id to update an existing price, omit it to add one.
metadata
object
Custom key-value pairs.

Response

offer
object
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" }]}'
{
  "offer": {
    "id": "offer_01HXYZ",
    "sku": "ACME-SHIRT-M",
    "prices": [
      { "id": "price_01HXYZ", "amount": 2300, "currency_code": "usd" }
    ]
  }
}