Gallery Platform API
Reference

Get a sale's three-way split breakdown

Returns the per-party split of a sale, net of production costs: the consignor and third-party legs (mirroring the generated payables) plus the gallery's residual consignee share, with amounts booked at the sale's frozen rate. A missing or unauthorized sale is a 404.

GET
/gallery/sales/{id}/split

Returns the per-party split of a sale, net of production costs: the consignor and third-party legs (mirroring the generated payables) plus the gallery's residual consignee share, with amounts booked at the sale's frozen rate. A missing or unauthorized sale is a 404.

Authorization

bearerAuth sales:read
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: sales:read

Path Parameters

id*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "currency": "string",  "base_currency": "string",  "lines": [    {      "sale_item_id": "string",      "artwork_id": "string",      "artwork_title": "string",      "sold_price_cents": -9007199254740991,      "production_cost_cents": -9007199254740991,      "net_cents": -9007199254740991,      "consignor": {        "bps": 0,        "amount_cents": -9007199254740991,        "base_amount_cents": -9007199254740991,        "payee_contact_id": "string",        "payee_name": "string"      },      "third_party": {        "bps": 0,        "amount_cents": -9007199254740991,        "base_amount_cents": -9007199254740991,        "payee_contact_id": "string",        "payee_name": "string"      },      "consignee_cents": -9007199254740991,      "consignee_base_cents": -9007199254740991    }  ],  "totals": {    "sold_price_cents": -9007199254740991,    "production_cost_cents": -9007199254740991,    "net_cents": -9007199254740991,    "consignor_cents": -9007199254740991,    "third_party_cents": -9007199254740991,    "consignee_cents": -9007199254740991,    "consignor_base_cents": -9007199254740991,    "third_party_base_cents": -9007199254740991,    "consignee_base_cents": -9007199254740991  }}