unknown_line_items
Line items are not on this order
BetaAPI v2 is in public beta: endpoints, fields and behaviour can change before general availability. See the changelog
Last updated
API v2
stoqapp.comAbout STOQContactPrivacy policyHelp center
Line items are not on this order
Section titled “Line items are not on this order”Code: unknown_line_items · HTTP status: usually 422
Some of the line item ids are not on the order.
How to fix
Section titled “How to fix”Read the order to get its line item ids, then resend.
Example response
Section titled “Example response”{ "code": "unknown_line_items", "type": "https://docs.stoqapp.com/v2/docs/api-v2/errors/unknown-line-items/", "title": "Line items are not on this order", "status": 422, "detail": "These line items are not on this order: 123. Read the order to get its line item ids, then resend.", "errors": [ "These line items are not on this order: 123" ], "details": [ { "code": "unknown_line_items", "message": "These line items are not on this order: 123", "path": null, "value": null, "expected": null } ]}Every API v2 and MCP failure carries code and a type link to its page here. See Errors & Responses for the full envelope.
Was this page helpful?
Thanks for letting us know.
Still stuck? Ask Quinn or chat with support