curl --request POST \
--url https://api.scalev.com/v3/stores/{store_id}/storefront/allowed-origins \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"origin": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"origin": "<string>",
"status": "active",
"store_id": 123,
"created_by": {},
"inserted_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Requires the store:update scope. Uses the authenticated business store ID.
curl --request POST \
--url https://api.scalev.com/v3/stores/{store_id}/storefront/allowed-origins \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"origin": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"origin": "<string>",
"status": "active",
"store_id": 123,
"created_by": {},
"inserted_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Legacy numeric business store ID.
Exact http or https origin with no path, query, or fragment.