cURL
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 }'
Add metadata to an Order in the form of a Badge or Activity feed item
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>