Hello,
I’m getting an “unexpected error” for the below order create mutation. The gift note contains an emoji which is encoded in the payload. The gift note is "“We miss you very much! ”. Should this work?
mutation {
order_create(
data: {
order_number: “1122334441115123908111171111111”
shop_name: “ExampleShop”
fulfillment_status: “pending”
order_date: “2019-07-29”
total_tax: “29.00”
subtotal: “150.00”
total_discounts: “20.00”
total_price: “159.00”
shipping_lines: {
title: “UPS”
price: “0.00”
carrier: “UPS”
method: “Ground”
}
shipping_address: {
first_name: “John”
last_name: “Johnson”
company: “The Johnson Co”
address1: “2543 Duck St.”
address2: “Apt. 2”
city: “Oklahoma”
state: “Oklahoma”
state_code: “OK”
zip: “73008”
country: “US”
country_code: “US”
email: “johnjohnsonco@johnsonco.com”
phone: “5555555555”
}
billing_address: {
first_name: “John”
last_name: “Johnson”
company: “The Johnson Co”
address1: “2543 Duck St.”
address2: “Apt. 2”
city: “Oklahoma”
state: “OK”
state_code: “OK”
zip: “73008”
country: “US”
country_code: “US”
email: “johnjohnsonco@johnsonco.com”
phone: “5555555555”
}
line_items: {
sku: “00030bcb8a”
partner_line_item_id: “282960815111111112245671231114”
quantity: 2
price: “150.00”
product_name: “Example Product”
fulfillment_status: “pending”
quantity_pending_fulfillment: 2
warehouse_id: “<warehouse_id>”
}
required_ship_date: “2019-08-29”,
gift_note: “We miss you very much! \ud83d\ude0a”
}
) {
request_id
complexity
order {
id
order_number
shop_name
fulfillment_status
order_date
total_tax
subtotal
total_discounts
total_price
custom_invoice_url
account_id
email
profile
packing_note
required_ship_date
shipping_address {
first_name
last_name
company
address1
address2
city
state
state_code
zip
country
country_code
email
phone
}
line_items(first: 1) {
edges {
node {
id
sku
product_id
quantity
product_name
fulfillment_status
quantity_pending_fulfillment
quantity_allocated
backorder_quantity
eligible_for_return
customs_value
warehouse_id
locked_to_warehouse_id
}
}
}
}
}
}