Gallery Platform API
Reference

Record a tax registration

Records the gallery's sales-tax registration status for a state (one per state). Reuses the sales scope.

POST
/gallery/tax-registrations

Records the gallery's sales-tax registration status for a state (one per state). Reuses the sales scope.

Authorization

bearerAuth sales:create
AuthorizationBearer <token>

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

In: header

Scope: sales:create

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.

Record a state's sales-tax registration.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "id": "string",  "country": "string",  "state": "string",  "status": "not_registered",  "registered_at": "string",  "registration_number": "string",  "note": "string",  "created_at": "string",  "updated_at": "string"}