For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
      • Playground
          • QUERYcompanyRoles
          • QUERYcompanyRole
          • QUERYcompanyPermissions
          • QUERYaccountSettings
          • QUERYcustomerAccountSettings
          • QUERYinvoices
          • QUERYinvoice
          • QUERYinvoiceStats
          • QUERYinvoiceCustomerInformation
          • QUERYinvoicePaymentModules
          • QUERYinvoiceBcOrderAllowMethods
          • QUERYinvoicePaymentBcCart
          • QUERYinvoicePaymentFees
          • QUERYreceipts
          • QUERYreceipt
          • QUERYallReceiptLines
          • QUERYreceiptLine
          • QUERYreceiptLines
          • QUERYorder
          • QUERYallOrders
          • QUERYorderProducts
          • QUERYorderedProducts
          • QUERYcustomerOrders
          • QUERYcustomerOrder
          • QUERYcreatedByUser
          • QUERYshoppingLists
          • QUERYshoppingList
          • QUERYshoppingListsIdName
          • QUERYcustomerShoppingLists
          • QUERYcustomerShoppingList
          • QUERYcustomerShoppingListsIdName
          • QUERYcompanyExtraFields
          • QUERYuserCompany
          • QUERYcompanyValidateEmail
          • QUERYcompanyUserInfo
          • QUERYaccountFormFields
          • QUERYcompanyCreditConfig
          • QUERYcompanyPaymentTerms
          • QUERYcompanySubsidiaries
          • QUERYsuperAdminCompanies
          • QUERYsuperAdminMasquerading
          • QUERYquotes
          • QUERYcustomerQuotes
          • QUERYquote
          • QUERYquoteUserStoreInfo
          • QUERYquoteConfig
          • QUERYquoteExtraFieldsConfig
          • QUERYusers
          • QUERYuser
          • QUERYuserEmailCheck
          • QUERYcustomerEmailCheck
          • QUERYuserExtraFields
          • QUERYcurrentUser
          • QUERYcustomerInfo
          • QUERYuserLoginState
          • QUERYuserMasqueradingCompany
          • QUERYorderStatuses
          • QUERYbcOrderStatuses
          • QUERYcurrencies
          • QUERYautoLoader
          • QUERYstoreLimitations
          • QUERYstoreBasicInfo
          • QUERYstorefrontScript
          • QUERYstorefrontDefaultLanguage
          • QUERYstorefrontProductSettings
          • QUERYstorefrontSettings
          • QUERYstoreConfigSwitchStatus
          • QUERYstoreCheckoutConfig
          • QUERYstorefrontConfig
          • QUERYstorefrontConfigs
          • QUERYproductVariantsInfo
          • QUERYvariantSku
          • QUERYproductsInventory
          • QUERYproductsLoad
          • QUERYproductsSearch
          • QUERYtaxZoneRates
          • QUERYproductPurchasable
          • QUERYvalidateProduct
          • QUERYvalidateProducts
          • QUERYpriceProducts
          • QUERYaddresses
          • QUERYaddress
          • QUERYcountries
          • QUERYdefaultShippingAddress
          • QUERYdefaultBillingAddress
          • QUERYcustomerAddresses
          • QUERYcustomerAddress
          • QUERYaddressConfig
          • QUERYaddressExtraFields
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLB2BQueries

receipt

Example Query
1query ExampleQuery($id: Int) {
2 receipt(id: $id) {
3 id
4 createdAt
5 updatedAt
6 storeHash
7 customerId
8 externalId
9 externalCustomerId
10 totalCode
11 totalAmount
12 payerName
13 }
14}
Variables
1{
2 "id": 0
3}
Example response
1{
2 "data": {
3 "receipt": {
4 "id": "example",
5 "createdAt": 0,
6 "updatedAt": 0,
7 "storeHash": "example",
8 "customerId": 0,
9 "externalId": 0,
10 "externalCustomerId": 0,
11 "totalCode": "example",
12 "totalAmount": "Decimal",
13 "payerName": "example"
14 }
15 }
16}
The details of a receipt. Requires IP authentication.
Was this page helpful?
Previous

receipts

Next

allReceiptLines

Built with

Arguments

idIntegerRequired
The receipt id. This field is required.

Returns

an optional ReceiptType
idString
receiptLineSetReceiptLinesTypeCountableConnection
createdAtInteger
The create at of receipt.Required
updatedAtInteger
The update at of receipt.Required
storeHashString
The store hash of store.Required
customerIdInteger
The customer id of receipt.Required
externalIdInteger
The external id of receipt
externalCustomerIdInteger
The external customer id of receipt
totalCodeString
totalAmountDecimal
payerNameString
The payer name of receipt.Required
payerCustomerIdString
The payer customer id of receipt.Required
detailsGenericScalar
The details of receipt
paymentIdInteger
The payment id of receipt.Required
transactionTypeString
The transaction type of receipt.Required
paymentTypeString
referenceNumberString
The reference number of receipt.Required
totalGenericScalar
The total of receipt.Required