Skip to main content
POST
/
dev
/
v1
/
resellers
/
{id}
/
stock-purchases
Create a reseller stock purchase request
curl --request POST \
  --url https://api.shoppex.io/dev/v1/resellers/{id}/stock-purchases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "product_id": "<string>",
  "quantity": 123,
  "variant_id": "<string>"
}
'
{
  "data": {}
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required

Body

product_id
string
required
quantity
number
required
variant_id
string | null

Response

Successful response

data
object
required