Skip to main content

UpdatePointOfSaleInput

Input for updatePointOfSale. All fields except id are optional: an omitted field is left unchanged, and null clears it. The C60 fields of a C60 point of sale cannot be cleared.

input UpdatePointOfSaleInput {
id: ID!
storeId: ID
name: String
description: String
manualAmount: Boolean
requireEmail: Boolean
requireTaxId: Boolean
fixedAmount: Int
fixedCurrency: Currencies
enabled: Boolean
includeQRCode: Boolean
qrCodeText: String
paymentCallbackUrl: String
transactionType: TransactionTypes
paymentMethods: [PaymentMethods!]
deviceId: String
c60Emisora: String
c60AllowedModalities: [Modality!]
}

Fields​

UpdatePointOfSaleInput.id ● ID! non-null scalar​

ID of the point of sale to update.

UpdatePointOfSaleInput.storeId ● ID scalar​

ID of a store of the account. null removes the point of sale from its store. An unknown store ID fails with the error Store not found.

UpdatePointOfSaleInput.name ● String scalar​

Name.

UpdatePointOfSaleInput.description ● String scalar​

Description of the point of sale.

UpdatePointOfSaleInput.manualAmount ● Boolean scalar​

Payment flow of a QR_CODE point of sale: true for "Manual Amount", false for "Fixed Amount". See PointOfSale.manualAmount.

UpdatePointOfSaleInput.requireEmail ● Boolean scalar​

Ask the customer for an email address on the payment page.

UpdatePointOfSaleInput.requireTaxId ● Boolean scalar​

Ask the customer for a tax ID on the payment page.

UpdatePointOfSaleInput.fixedAmount ● Int scalar​

Fixed amount in the smallest currency unit. See PointOfSale.fixedAmount.

UpdatePointOfSaleInput.fixedCurrency ● Currencies enum​

Currency of fixedAmount. ISO 4217.

UpdatePointOfSaleInput.enabled ● Boolean scalar​

Enable or disable the point of sale. See PointOfSale.enabled.

UpdatePointOfSaleInput.includeQRCode ● Boolean scalar​

Add a QR code of the order ID to the receipt email.

UpdatePointOfSaleInput.qrCodeText ● String scalar​

Text next to the order QR code in the receipt email.

UpdatePointOfSaleInput.paymentCallbackUrl ● String scalar​

Callback URL for the payments of this point of sale. Must be a valid URL.

UpdatePointOfSaleInput.transactionType ● TransactionTypes enum​

Transaction type of the payments that a fixed-amount scan creates. See PointOfSale.transactionType.

UpdatePointOfSaleInput.paymentMethods ● [PaymentMethods!] list enum​

Payment methods offered on the payments that a fixed-amount scan creates.

UpdatePointOfSaleInput.deviceId ● String scalar​

Device ID of a MONEI_POD terminal. A device ID that another point of sale holds fails with the error Device ID already in use.

UpdatePointOfSaleInput.c60Emisora ● String scalar​

AEB Cuaderno 60 Emisora code: 6 digits, the last one a module-11 control digit. Only valid when the point of sale type is C60.

UpdatePointOfSaleInput.c60AllowedModalities ● [Modality!] list enum​

AEB Cuaderno 60 modalities to accept. Only valid when the point of sale type is C60.

Member Of​

updatePointOfSale mutation