Body
Required
-
cuc
string Required -
customerId
string Required -
partnerId
string Required -
items
array[string] Required -
reinvestiment
boolean Required
POST
/orders
curl \
-X POST https://open-api.hml.soupi.com.br/orders \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"cuc":"string","customerId":"string","partnerId":"string","items":["string"],"reinvestiment":true}'
Request example
{
"cuc": "string",
"customerId": "string",
"partnerId": "string",
"items": [
"string"
],
"reinvestiment": true
}
Request examples
{
"cuc": "string",
"customerId": "string",
"partnerId": "string",
"items": [
"string"
],
"reinvestiment": true
}
Response examples (200)
{
"status": "string",
"message": "string"
}
Response examples (200)
{
"status": "string",
"message": "string"
}
Response examples (400)
{
"message": {},
"data": {}
}
Response examples (400)
{
"message": {},
"data": {}
}
Response examples (401)
{
"message": {},
"data": {}
}
Response examples (401)
{
"message": {},
"data": {}
}