ordercloud.promotions.assign
Assigns a specified promotion to a buyer using promotion ID and buyer ID, enabling buyer-specific OrderCloud promotions.
Instructions
Assign a promotion to a buyer
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"promotionId": "<promotionId>",
"buyerId": "<buyerId>"
},
"name": "ordercloud.promotions.assign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyerId | Yes | The buyer ID to assign the promotion to | |
| promotionId | Yes | The promotion ID |