API-eda0ed
Your order update sent invoiced and status values that contradict each other. Returned as HTTP 400.
Why you're seeing this
This fires only when a single update sends both the invoiced flag and an explicit status, and the two disagree. status has three values: Estimate, RepairOrder, and Invoice.
invoiced: trueis only valid withstatus: "Invoice".invoiced: falseis valid with any status except"Invoice".
How to resolve
- Send only one of the two. If you set
invoicedwithout astatus, the status is derived for you (true→Invoice,false→Estimate), or - Make them agree: pair
invoiced: truewithstatus: "Invoice", andinvoiced: falsewith"Estimate"or"RepairOrder".