Dear Square Support Team,
I hope this email finds you well.
I am reaching out for assistance regarding an issue I encountered while trying to apply an Automatic Discount (Buy One Get One - BOGO) to an order created via the Square Order API. Despite setting auto_apply_discounts to true, the discount is not being applied to the order.
Below is a sample API request I used:
https://connect.squareup.com/v2/orders/calculate { "order": { "reference_id": "M-20250213-01", "location_id": "****", "source": { "name": "****" }, "line_items": [ { "catalog_object_id": "Y5PYOTYISGKQTUPWNY3APTEH", "quantity": "1" }, { "catalog_object_id": "Y5PYOTYISGKQTUPWNY3APTEH", "quantity": "1" } ] }, "pricing_options": { "auto_apply_discounts": true, "auto_apply_taxes": true } }
I would appreciate your guidance on this issue. Please let me know if any additional information is needed.
Thank you for your time and support!
Best regards
murphy
Hi @murphyzhang, welcome to the Community.
This is a great question!
I recommend posting it in the Square Developer Forums, where the Square engineering team and other developers can provide more detailed guidance on handling discounts via the Order API.
Let me know if you need help with anything else.
Hi @murphyzhang, welcome to the Community.
This is a great question!
I recommend posting it in the Square Developer Forums, where the Square engineering team and other developers can provide more detailed guidance on handling discounts via the Order API.
Let me know if you need help with anything else.
Hi @murphyzhang !
From what I know, the Square Order API does not support the feature of automatic discounts like BOGO.
As for the other two questions, like Robyn recommended above, you will need to reach out on our Square Developers board because they will be able to provide the best insights here.
I hope this helps!
Square Community
Square Products