Skip to main content
POST
Spree Admin SDK

Authorizations

x-spree-api-key
string
header
required

Secret API key for admin access

Authorization
string
header
required

JWT token for admin user authentication

Headers

x-spree-api-key
string
required
Authorization
string
required

Body

application/json
type
string
required

Wire shorthand from the integration types endpoint.

Example:

"carrier"

active
boolean

Activating runs the connection check, and a failed check is a 422.

preferences
object

Credential values. Secret preferences come back masked, and sending a masked value back keeps the stored secret.

Response

201 - application/json

integration connected