curl --request POST \
--url http://localhost:3000/v1/partner/reorder-requests/{id}/accept \
--header 'Content-Type: application/json' \
--data '
{
"expected_delivery_date": "<string>",
"notes": "<string>"
}
'{
"success": true,
"manifest": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxonomy_id": "<string>",
"manifest_number": 123,
"partner_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "draft",
"expected_delivery_date": "<string>",
"actual_received_at": "<string>",
"tracking_number": "<string>",
"carrier": "<string>",
"notes": "<string>",
"reorder_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"request": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partner_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"requested_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"responded_at": "2023-11-07T05:31:56Z",
"response_notes": "<string>",
"manifest_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_auto_generated": true,
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
}Accepts a pending reorder request and creates a manifest for the shipment.
curl --request POST \
--url http://localhost:3000/v1/partner/reorder-requests/{id}/accept \
--header 'Content-Type: application/json' \
--data '
{
"expected_delivery_date": "<string>",
"notes": "<string>"
}
'{
"success": true,
"manifest": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxonomy_id": "<string>",
"manifest_number": 123,
"partner_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "draft",
"expected_delivery_date": "<string>",
"actual_received_at": "<string>",
"tracking_number": "<string>",
"carrier": "<string>",
"notes": "<string>",
"reorder_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"request": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partner_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"requested_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"responded_at": "2023-11-07T05:31:56Z",
"response_notes": "<string>",
"manifest_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_auto_generated": true,
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
}