Skip to main content

Complete SPS Commerce Integration Setup

POST 

/api/spscommerce/integrations/complete

Finish connecting after the SPS Commerce consent screen redirected back: exchanges the authorization code, stores the token, creates the connection and its sales channel.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token and the integrations.update permission.

Body: state (required, from Initialize), receiver_id (required, your SPS trading-partner ID), sender_id (optional), name (optional), is_auto_polling_enabled (optional, default false).

Returns 422 when receiver_id is missing; 400 when the state was not issued to this account or has expired.

Request​

Responses​

OK

Response Headers
    Content-Type