Sale__invoice Offers
Automatic Buy X Get Y offers an editable order qualifies for but doesn't have yet. { collectionName: 'sale__Invoice', permissions: ['*', 'read'], } Requires a signed-in staff user. Needs the `sale__Invoice` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
sale__invoiceOffers(where: CommonFindDocumentDto!): [InvoiceOffer!]!Automatic Buy X Get Y offers an editable order qualifies for but doesn't have yet. { collectionName: 'sale__Invoice', permissions: ['*', 'read'], } Requires a signed-in staff user. Needs the sale__Invoice read permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where*Returns
- sale__invoiceOffers
discountId*ID!products*quantityMissing*Int!rewardLabel*String!title*String!query Sale__invoiceOffers($where: CommonFindDocumentDto!) { sale__invoiceOffers(where: $where) { discountId products { hasVariants id price title } quantityMissing rewardLabel title }}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "sale__invoiceOffers": [ { "discountId": "1", "products": [ { "hasVariants": true, "id": "1", "price": 10.5, "title": "string" } ], "quantityMissing": 10, "rewardLabel": "string", "title": "string" } ] }}Sale__invoice QUERY
{ collectionName: 'sale__Invoice', permissions: ['*', 'read'], } Requires a signed-in staff user. Needs the `sale__Invoice` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Sale__invoices QUERY
{ collectionName: 'sale__Invoice', permissions: ['*', 'read'], } Requires a signed-in staff user. Needs the `sale__Invoice` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).