Use the maximum purchase quantity [limit_quantity]
attribute to specify the maximum number of items that can be bought when redeeming a promotion.
When to use
Optional for each product
Example: For “buy 1 get 1 free, up to 10 items" set maximum purchase quantity for promotion [limit_quantity]
to 10.
Format
Type | Integer |
---|
File format | Example value |
Text feeds | 5 |
XML feeds | <g:limit_quantity>5</g:limit_quantity> |
To format your data for Content API, refer to the Content API for Shopping resource.