Endpoints Reference
Platform Connection

New Platform Connection

POST
/v1/{siteEnv}/{siteId}
The SparkLayer Ignite platform will call this endpoint when the merchant connects SparkLayer on the specific platform. Please note that this endpoint must be idempotent as it may be called multiple times.
Path Parameters
siteEnv
*
siteId
*
Body Parameters
body
store_id
*
spark_api_client_id
*
spark_api_client_secret
*
Responses
201
Successful operation - App install pending
redirect_url
*
204
Successful operation - App already installed - Platform connection is now active
401
Auth Failure
500
System Exception