Return Approved
Published when a return request passes the returns policy and the customer can send the items back.
1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "title": "ReturnApproved",
4 "description": "Published when a return request has been approved",
5 "type": "object",
6 "properties": {
7 "returnId": { "type": "string", "format": "uuid" },
8 "orderId": { "type": "string", "format": "uuid" },
9 "customerId": { "type": "string", "format": "uuid" },
10 "returnLabelUrl": { "type": "string", "format": "uri" },
11 "returnBy": { "type": "string", "format": "date" },
12 "approvedAt": { "type": "string", "format": "date-time" }
13 },
14 "required": ["returnId", "orderId", "customerId", "approvedAt"]
15}
16