Skip to main content

List SPS Commerce Integrations

GET 

/api/spscommerce/integrations

List SPS Commerce connections for this account. Credentials and tokens are never returned. trading_partner_ids lists the trading partners the connection has received purchase orders from; ship_notice_number_partner_ids those that assign the ship notice number themselves.

Required scope: integrations:read

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

Authentication: Requires Bearer token.

Each connection includes trading_partner_settings: the invoicing rules of every trading partner that has sent a purchase order (defaults filled in), keyed by trading partner ID. Each partner also carries customer_id (the customer its purchase orders belong to, or null), customer_name (that customer's name, read-only) and customer_company (its company name when it differs from the name, else null; read-only).

trading_partners names each trading partner (every key of trading_partner_settings) for display: name is the linked customer's name (name_source customer), else the bill-to or buyer name on the partner's latest purchase order (purchase_order), else the trading partner ID itself (code). customer_id is the linked customer, or null. A partner named only by its purchase orders also carries suggested_customer: that name and the bill-to address from its latest purchase order (line1, line2, city, state, zip, country, or null), for creating its customer. It is null for every other partner.

sync_schedule_state is active or paused (the connection's sync schedule); imports_purchase_orders says whether the five-minute check for new purchase orders (850) is on. Both come from the sync controls.

Request​

Responses​

OK

Response Headers
    Content-Type