Caship Sign in

Developers / Docs / Requests & responses

Requests & responses

The shape of every call.

Illustrative. The Partner API is a proposal. Names, fields and numbers on this page show the intended shape; the final contract will be published as an OpenAPI file with the sandbox.

Base addresses

Address
Sandboxsandbox-api.[domain]/v1
Liveapi.[domain]/v1

The [domain] is a placeholder until the developer site address is chosen.

Headers

HeaderMeaning
AuthorizationBearer ck_live_… your API key
X-Caship-PartnerYour Partner ID
X-Caship-TimestampSeconds since 1970, must be within five minutes
X-Caship-NonceA one-time number for this request
X-Caship-SignatureThe signature, see Security & signing
Idempotency-KeyRequired on every write

A successful answer

200 OK
{
  "status": "redeemed",
  "discount": 10000,
  "campaign": "WINTER-100"
}

Lists

List calls return a page of results and a cursor to ask for the next page. Dates use ISO 8601 with the Indian Standard Time offset, for example 2026-12-04T10:30:00+05:30.