Check Amazon Buy Shipping Access
POST/api/amazon/:integrationInstance/buy-shipping/access-check
Checks whether Amazon lets SKU.io buy Amazon Buy Shipping labels for this store. It asks Amazon for rates on the store's newest unshipped merchant-fulfilled order with a 10 × 8 × 4 in, 1 lb test box, shipped from that order's warehouse (or the first own warehouse with an address). Nothing is bought.
integrations:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
No request body.
The result is saved on the store as integration_settings.buy_shipping.access (see Update Amazon Settings (Partial)) and returned as data:
status: ok (Amazon accepted the request, even if it did not rate the test box), denied (Amazon refused Buy Shipping for SKU.io's app; labels cannot be bought until it is granted) or error (the check could not run — no unshipped merchant-fulfilled order yet, a marketplace Buy Shipping does not support, no warehouse address, or Amazon could not be reached).checked_at(ISO-8601, UTC).message: what happened, in plain words.
The check always returns 200; read status for the outcome. 404 when the instance is not an Amazon integration instance.
Requires the integrations write scope and the integrations.update permission.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.