Hi
I´m creating an order, but somehow it says SKU does not exists
mutation {
order_create(
data: {
order_number: "2"
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: "ACLFBLK-HRHAT50"
partner_line_item_id: "UHJvZHVjdEluZm86Mjg5MjA1ODc4"
quantity: 1
price: "150.00"
product_name: "Example Product"
fulfillment_status: "pending"
quantity_pending_fulfillment: 1
warehouse_id: "V2FyZWhvdXNlOjgxODcx"
}
required_ship_date: "2019-08-29"
}
) {
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
}
}
}
}
}
}
And I definetly can find it
please help