Creating a card
mutation CreateOrder {
createOrder(
account_id: 1
currency: "GBP"
merchant_id: 24
group_fulfilment: false
auto_fulfil_group_fulfilment: true
merchant_transaction_reference: "912321-2139433213-12323421_26062021"
total: 0
sales_channel_id: 3
note: "Guest had a bad experience, £10 offered"
order_items: [
{
product_id: 3532
custom_price_modifier_value: 5000
fulfilment_method_id: 1
generate_card_reference: true
fulfilment_email: "anthony.moore+receipient@airship.co.uk"
discounts: [{
discount_type_id: 1
value: 5000
}]
}
]
) {
id,
LineItems{
id
Card{
id
card_reference
pin
balance
expiry_time
card_alias_card_reference
product_name
}
}
}
}
What contact details should I use?
What merchant ID to I use?
What product ID should I use?
Price modifier vs custom price modifiers
Total vs discounts
What does auto_fulfil_group_fulfilment do?
Last updated