Receipts
Query
receipt — Returns Receipt
Scopes Required: modify_receipts
| Arguments | Type | Description |
|---|---|---|
|
id |
The ID of the receipt to retrieve |
Example Query
query GetReceipt($id: ID!) {
receipt(id: $id) {
id,
name,
type,
components,
receiptWidth
}
}
# Example variables
{
"id": "<ID>"
}Query
receipts — Returns [Receipt]
Scopes Required: modify_receipts
| Arguments | Type | Description |
|---|---|---|
|
type |
The type of receipts to retrieve |
Example Query
query GetReceipts($type: ReceiptTypeEnum) {
receipts(type: $type) {
id,
name,
type,
components,
receiptWidth
}
}
# Example variables
{
"type": "NORMAL"
}