POST
/
domain-cliente
/
webhook
/
new-order
curl --request POST \
  --url https://api.artisn.desarrollo-redbrand.com/api/domain-cliente/webhook/new-order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "order_id": "<string>",
  "status": "<string>",
  "customer": {
    "id": "<string>",
    "name": "<string>",
    "email": "<string>"
  },
  "items": [
    {
      "product_id": "<string>",
      "quantity": 123,
      "price": 123
    }
  ],
  "total": 123
}'
{
  "status": "OK"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Order successfully notified

The response is of type object.