cURL
curl --request PUT \ --url https://api.production.orderprotection.com/v1/orders/metadata/{id}/{key} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "type": "badge", "badgeType": "success", "label": "Order Risk: Low", "icon": "AddBook", "iconPosition": "left", "lowContrast": true }'
Update a specific metadata key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>