Sale__send Invoice To Courier
Authenticated x-tenant { collectionName: 'sale__Invoice', permissions: ['*', 'update'], } Requires a signed-in staff user. Needs the `sale__Invoice` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).
sale__sendInvoiceToCourier(input: SendToCourierInput!): SendToCourierResponse!Authenticated x-tenant { collectionName: 'sale__Invoice', permissions: ['*', 'update'], } Requires a signed-in staff user. Needs the sale__Invoice update permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
input*Returns
- sale__sendInvoiceToCourier
items*mutation Sale__sendInvoiceToCourier($input: SendToCourierInput!) { sale__sendInvoiceToCourier(input: $input) { items { consignmentId invoice status trackingCode } }}{ "input": { "provider": "PATHAO" }}{ "data": { "sale__sendInvoiceToCourier": { "items": [ { "consignmentId": "string", "invoice": "string", "status": "string", "trackingCode": "string" } ] } }}Sale__retry Invoice Payment MUTATION
{ collectionName: 'sale__Invoice', permissions: ['*', 'create'], } Requires a signed-in staff user. Needs the `sale__Invoice` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Sale__update Discount MUTATION
{ collectionName: 'sale__Discount', permissions: ['*', 'update'], } Requires a signed-in staff user. Needs the `sale__Discount` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).