Skip to main content
POST
/
v1
/
admin
/
partners
/
reorders
Create a reorder request
curl --request POST \
  --url http://localhost:3000/v1/admin/partners/reorders \
  --header 'Content-Type: application/json' \
  --data '
{
  "partner_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "items": [
    {
      "sellable_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "requested_quantity": 1
    }
  ],
  "notes": "<string>",
  "expires_in_days": 7
}
'
{
  "success": true,
  "request": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "partner_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "partner_company_name": "<string>",
    "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_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "items": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "sellable_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "product_name": "<string>",
        "product_image_url": "<string>",
        "requested_quantity": 123,
        "current_inventory": 123,
        "reorder_point": 123,
        "avg_daily_sales": 123,
        "days_of_stock": 123
      }
    ],
    "total_requested_quantity": 123
  }
}

Body

application/json
partner_brand_id
string<uuid>
required
items
object[]
required
Minimum array length: 1
notes
string
expires_in_days
integer
default:7
Required range: x > 0

Response

Reorder request created

success
boolean
required
request
object
required