Changelog
We add fields and endpoints without a new version. We never remove or rename fields, or change the meaning of a value, inside v1. Anything breaking gets a new version and at least 12 months’ notice.
Unreleased
Section titled “Unreleased”- First public documentation of the Partners API
v1: authentication, member lookup, member card, sales, products and stores. - Sales:
external.external_transaction_idis the duplicate key. A retry with the same content returns200with the original transaction andIdempotent-Replayed: true; the same id with different content returns409 external_transaction_id_conflict. - Sales honour an optional
Idempotency-Key: the same key with the same body replays the original (200); the same key with a different sale is409 idempotency_key_reused. - New:
GET /v1/memberships/{membership_id}/rewardslists the member’s usable rewards, optionally for one store. - Member lookup now returns
unitandcycle_length. On a cashback program,unitcarriescurrency,minor_unitsandlocale. - Products:
external_product_idon products;POST /v1/productsupserts by it; newPOST /v1/products/bulk(up to 100,207with a result per item, optionalIdempotency-Key, also onPOST /v1/products); unknown products on a sale line are created from the line. - Scopes on API keys:
members:read,sales:write,products:read,products:write,stores:read,stores:write,rewards:read. - Preview pages added for planned features. They are not live.