Gallery Platform API
Reference

Update a deal's artwork link

Adjusts a linked artwork's asking-price snapshot or ordering position.

PATCH
/gallery/deals/{id}/artworks/{artworkId}

Adjusts a linked artwork's asking-price snapshot or ordering position.

Authorization

bearerAuth deals:update
AuthorizationBearer <token>

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

In: header

Scope: deals:update

Path Parameters

id*string
artworkId*string

Header Parameters

Idempotency-Key?string

Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 14 days instead of re-running the write. Reusing a key with a different body returns 400.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Adjust a linked artwork's asking price or ordering.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "deal_id": "string",  "artwork_id": "string",  "asking_price_cents": -9007199254740991,  "currency": "string",  "position": -9007199254740991,  "created_at": "string"}