Koketso Posted Sunday at 06:03 PM Posted Sunday at 06:03 PM I have been getting Bad request with my post request for creating a sale receipt, any idea why? { "store_id": "53d46bdd-773b-46ed-******-8a64beb29a77", "order": "08dd9bb4-27f8-46c4-******-b5f72ef231c6", "customer_id": "d65e9a52-1ffb-422e-******-dd322c920641", "source": "OnlineStore", "receipt_date": "2025-05-25T17:48:55.0050519Z", "total_discounts": [], "line_items": [ { "variant_id": "7ec3c92a-771f-******-a9ff-2fdc7ef1f1f3", "quantity": 1, "price": 25, "cost": 0, "line_note": "", "line_discounts": [], "line_taxes": [], "line_modifiers": [] }, { "variant_id": "14398e0c-a11a-******-8303-61ae2c7f8d1f", "quantity": 1, "price": 25, "cost": 0, "line_note": "", "line_discounts": [], "line_taxes": [], "line_modifiers": [] } ], "note": "Online Order", "payments": [ { "payment_type_id": "2c023b1f-a2******96193d7f683", "paid_at": "2025-05-25T17:48:55.0061542Z", "money_amount": 50 } ] }
Yasu Posted 23 minutes ago Posted 23 minutes ago Hello. Could you try removing "[]" if it doesn't contain any data?
Recommended Posts