API docs

Returns

Permission: returns (read). Filtered to the locations the key can see.

GET /v1/returns. Filters: order_id, customer_id, source (sale or online), location_id, updated_since (on creation time), limit, cursor.

GET /v1/returns/{id}

{
  "object": "return",
  "id": 310,
  "number": "R93-000012",
  "source": "sale",
  "order_id": 5521,
  "bigcommerce_order_id": null,
  "location_id": 93,
  "customer_id": 1166,
  "settlement": "refund",
  "refund_tender": "card",
  "items_cents": 1599,
  "tax_cents": 116,
  "restock_fee_cents": 0,
  "total_cents": 1715,
  "reason": "Wrong caliber",
  "lines": [
    { "object": "return_line", "id": 402, "order_line_id": 9801, "product_id": 2062, "sku": "AMM-9-115-50", "description": "Blazer Brass 9mm 115gr FMJ (50)", "qty": 1, "unit_price_cents": 1599, "tax_cents": 116, "line_total_cents": 1715, "condition": "restock", "restocked": true }
  ],
  "created_at": "2026-09-25T15:02:00Z"
}
Field Values
settlement refund, store_credit, exchange
source sale means a return of a POS order (order_id set); online means a BigCommerce order (bigcommerce_order_id set)
lines[].condition restock or damaged

Keeping returns in sync

Returns are read-only through the API: they are processed at the register or come from BigCommerce, and the API reports them.

  • Webhook. Subscribe to return.created to hear about each return as it is processed. The payload is the same return object GET /v1/returns/{id} gives you. See Webhooks.
  • Polling. Returns have no updated_at, so updated_since filters on creation time. Poll GET /v1/returns?updated_since=… with the time of your last run and follow next_cursor until has_more is false. See Conventions.
  • Catch-up. If your webhook receiver was down, GET /v1/events holds the last 30 days of events, return.created included. See Events.

Reconciling money

Every amount is in integer cents. total_cents is items_cents plus tax_cents minus restock_fee_cents, capped at what is still refundable on the original order.

  • A refund settlement sends money back by refund_tender. On a POS order, the refund also appears on the order's payments; see Orders.
  • A store_credit settlement adds to the customer's store credit. It shows in their ledger with reference_type return; see Store credit.
  • An exchange is also store credit (refund_tender is store_credit), meant to be spent on the next sale so the exchange nets out on one ticket. Both need a customer to hold the credit.

Stock

Lines with condition restock go back on hand at the return's location, and restocked is true; the stock change fires inventory.changed. Lines marked damaged are written off rather than put back on the shelf.