Commerce
setIncludedItemsPolicy
Set Included Items Policy
Set the "first N included, then X each" pricing policy on a modifier group.
Arguments
appIdstringrequiredThe Studio app ID whose catalog to edit.groupIdstringrequiredThe modifier group ID the policy governs.includedCountintegerrequiredHow many zero-priced choices are included, e.g. 2.overflowPriceMinorintegerrequiredPrice per included-price choice beyond the included count, e.g. 500 = $5.00.paidChoicesConsumeIncludedbooleanoptionaltrue = a priced choice also uses up one included position. Defaults false.productIdstringoptionalOverride the policy for this one product. Omit for the default.
Returns
The registry does not declare a return shape.
Declared limits
includedCount: minimum 0includedCount: maximum 9007199254740991overflowPriceMinor: minimum 0overflowPriceMinor: maximum 9007199254740991
Ask for it
The Cloud routes these requests to this verb.
- first two accessories are included, then $5 each
- include three customizations
Pair it with
The verbs that finish the job.