New Platform Connection
POST
/v1/{siteEnv}/{siteId}
siteEnvstring
siteIdstring
bodyobject
201Successful operation - App install pending
204Successful operation - App already installed - Platform connection is now active
401Auth Failure
500System Exception
curl --request POST \
--url /v1/{siteEnv}/{siteId} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"store_id": "1234",
"spark_api_client_id": "ca7cf4ac-51cb-4836-9a79-d425afc6e280",
"spark_api_client_secret": "puwUwJZRfsnpB7nENulMW67prs94QYbu2DXHL3Sh"
}'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.