Skip to main content

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.

Required scope: integrations:write

Grant 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​

OK

Response Headers
    Content-Type