/
POST Inventory Rule Create
We’re excited to announce that the latest information is now available on our new site, the Ginesys One Wiki!. Visit the site for up-to-date resources and insights. We look forward to continuing to support you there!
We’re excited to announce that the latest information is now available on our new site, the Ginesys One Wiki!. Visit the site for up-to-date resources and insights. We look forward to continuing to support you there!
POST Inventory Rule Create
This call will create a dedicated inventory rule for a warehouse in Browntape.
End Point
https://app.browntape.com/0.1/dedicated_inventory_rules/create.json
Parameters to be passed
?username=XXXXXXXXXX
&auth_string=YYYYYYYYY
Post Parameters
{
data: {
{
"short_code": "test9",
"warehouse": "1", (optional)
"description": "apiTest", (optional)
"allocationTrigger": "40", (optional)
"allocationFrequency": "once", (once/continuous)
"ruleType": "absolute", (absolute/percentage)
"channel": {
"18085": {
"safetyStock": 4, (optional)
"allocation": 30,
"maxStock": 40, (optional)
"priority": 1
},
"18051": {
"safetyStock": 1, (optional)
"allocation": 7,
"priority": 2
}
}
}
}
}
Response
{
"success": true
}