Skip to main content
GET
/
admin
/
offers
curl 'http://localhost:9000/admin/offers?seller_id=sel_01HXYZ&limit=20' \
  -H 'Authorization: Bearer <token>'
{
  "offers": [
    {
      "id": "offer_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
      "seller_id": "sel_01HXYZ",
      "variant_id": "variant_01HXYZ",
      "product_id": "prod_01HXYZ",
      "shipping_profile_id": "sp_01HXYZ",
      "sku": "SHIRT-M-BLUE",
      "ean": null,
      "upc": null,
      "created_by": "user_01HXYZ",
      "variant_count": 3,
      "metadata": null,
      "seller": { "id": "sel_01HXYZ", "name": "Acme Store", "handle": "acme-store" },
      "product_variant": { "id": "variant_01HXYZ", "title": "M / Blue", "sku": "SHIRT-M-BLUE" },
      "shipping_profile": { "id": "sp_01HXYZ", "name": "Default" },
      "prices": [
        { "id": "price_01HXYZ", "amount": 2500, "currency_code": "usd", "min_quantity": null, "max_quantity": null }
      ],
      "inventory_items": [
        { "id": "iitem_01HXYZ", "inventory_item_id": "iitem_01HXYZ", "required_quantity": 1, "sku": "SHIRT-M-BLUE" }
      ]
    }
  ],
  "count": 1,
  "offset": 0,
  "limit": 20
}
Returns offers with their seller, variant, shipping profile, prices, and inventory items.

Query parameters

limit
number
default:"50"
Maximum number of records to return.
offset
number
default:"0"
Number of records to skip.
order
string
Field to sort by, prefix with - for descending order.
fields
string
Comma-separated fields to include in the response.
q
string
Search term matched against offers.
id
string | string[]
Filter by offer ID(s).
seller_id
string | string[]
Filter by seller ID(s).
variant_id
string | string[]
Filter by product variant ID(s).
shipping_profile_id
string | string[]
Filter by shipping profile ID(s).
sku
string | string[]
Filter by SKU(s).
ean
string | string[]
Filter by EAN(s).
upc
string | string[]
Filter by UPC(s).
group_by_seller
boolean
Group results by seller.
status
string | string[]
Filter by the offered product’s status.
category_id
string | string[]
Filter by product category ID(s).
collection_id
string | string[]
Filter by product collection ID(s).
type_id
string | string[]
Filter by product type ID(s).
tag_id
string | string[]
Filter by product tag ID(s).
created_at
object
Filter by creation date using operators like $gte and $lte.
updated_at
object
Filter by update date using operators like $gte and $lte.

Response

offers
object[]
count
number
Total number of matching offers.
offset
number
Number of records skipped.
limit
number
Maximum number of records returned.
curl 'http://localhost:9000/admin/offers?seller_id=sel_01HXYZ&limit=20' \
  -H 'Authorization: Bearer <token>'
{
  "offers": [
    {
      "id": "offer_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
      "seller_id": "sel_01HXYZ",
      "variant_id": "variant_01HXYZ",
      "product_id": "prod_01HXYZ",
      "shipping_profile_id": "sp_01HXYZ",
      "sku": "SHIRT-M-BLUE",
      "ean": null,
      "upc": null,
      "created_by": "user_01HXYZ",
      "variant_count": 3,
      "metadata": null,
      "seller": { "id": "sel_01HXYZ", "name": "Acme Store", "handle": "acme-store" },
      "product_variant": { "id": "variant_01HXYZ", "title": "M / Blue", "sku": "SHIRT-M-BLUE" },
      "shipping_profile": { "id": "sp_01HXYZ", "name": "Default" },
      "prices": [
        { "id": "price_01HXYZ", "amount": 2500, "currency_code": "usd", "min_quantity": null, "max_quantity": null }
      ],
      "inventory_items": [
        { "id": "iitem_01HXYZ", "inventory_item_id": "iitem_01HXYZ", "required_quantity": 1, "sku": "SHIRT-M-BLUE" }
      ]
    }
  ],
  "count": 1,
  "offset": 0,
  "limit": 20
}