Skip to main content
POST
/
v1
/
partner
/
reorder-requests
/
{id}
/
accept
Accept reorder request
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"
  }
}

Path Parameters

id
string<uuid>
required

Body

application/json
expected_delivery_date
string
notes
string

Response

Request accepted and manifest created

success
boolean
required
manifest
object
required
request
object
required