Skip to main content

Check AWD Plan Eligibility

POST 

/api/amazon/:integrationInstance/draft-inbound-plans/:draft_inbound_plan/awd/eligibility

Ask Amazon whether the exact cases the plan would send are eligible for AWD. The result is kept for a day and stored on the plan's order (its eligibility field).

Required scope: integrations:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Response: status (ELIGIBLE or INELIGIBLE), checked_at (UTC ISO 8601) and reasons[] ({code, description}, plus msku for a package-level reason).

Errors. A refused action answers with {message, code, errors: [{msku, message, code}], details}: 422 when SKU.io refuses it before calling Amazon (wrong status, plan not ready) or Amazon rejects it (code: rejected); 403 not_authorized when Amazon has not granted the AWD role (reconnect the account); 404 not_found when Amazon no longer knows the order; 409 conflict while Amazon is still validating the order or refuses the change (details.amazon_reason); 429 rate_limited; 504 timeout. A 409, 429 or 504 changed nothing and can be retried.

Requires the integrations.sync permission.

Returns 404 when the plan belongs to a different Amazon account than the one in the URL.

Request​

Responses​

OK

Response Headers
    Content-Type