🚀 New: Edit Shoppex themes from the dashboard, the CLI, or an AI agent — one unified workflow. Learn more →
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": {}
}Developer API operation for POST /dev/v1/resellers//stock-purchases.
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": {}
}Use your Shoppex API key in the Authorization header.
Successful response