Save Shopify Order

POST /shopify/webhook/orders/paid

Orders made through Shopify using the 2023-07 API version

application/json

Body

Responses

POST /shopify/webhook/orders/paid
curl \
 -X POST https://api.protect.earth/shopify/webhook/orders/paid \
 -H "Content-Type: application/json" \
 -d '{"id":"string"}'
Request example
{
  "id": "string"
}
Response examples (400)
{
  "type": "https://protect.earth/probs/something-went-wrong",
  "title": "You do not have enough credit.",
  "status": 400,
  "detail": "Your current balance is 30, but that costs 50.",
  "instance": "/account/12345/msgs/abc"
}
Response examples (401)
{
  "type": "https://protect.earth/probs/something-went-wrong",
  "title": "You do not have enough credit.",
  "status": 400,
  "detail": "Your current balance is 30, but that costs 50.",
  "instance": "/account/12345/msgs/abc"
}
Response examples (403)
{
  "type": "https://protect.earth/probs/something-went-wrong",
  "title": "You do not have enough credit.",
  "status": 400,
  "detail": "Your current balance is 30, but that costs 50.",
  "instance": "/account/12345/msgs/abc"
}
Response examples (422)
{
  "type": "https://protect.earth/probs/something-went-wrong",
  "title": "You do not have enough credit.",
  "status": 400,
  "detail": "Your current balance is 30, but that costs 50.",
  "instance": "/account/12345/msgs/abc"
}