POST
/
v1
/
orders
/
metadata
/
{id}
curl --request POST \
  --url https://api.production.orderprotection.com/v1/orders/metadata/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "badge",
  "badgeType": "success",
  "label": "Order Risk: Low",
  "icon": "AddBook",
  "iconPosition": "left",
  "lowContrast": true
}'

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json