What field in the order_create mutation maps to the following field in the portal?
Thanks!
What field in the order_create mutation maps to the following field in the portal?
Thanks!
Hey @seanteqnavi,
Thanks for reaching out and welcome to the Developer Community!
The field that populates that value in the ui is the title
field under the shipping_lines
connection.
shipping_lines: {
title: "test24"
price: "1.00"
carrier: "string"
method: "string"
}
Which looks like this is an example order_create:
mutation mutation_order_creat850 {
order_create(
data: {
order_number: "R137"
total_price: "10.00"
subtotal: "13.00"
shipping_lines: {
title: "test24"
price: "1.00"
carrier: "string"
method: "string"
}
shipping_address: {
first_name: "John"
last_name: "Doe"
address1: "17850 Linden Blvd"
city: "Saint Albans"
state: "New York"
zip: "11434"
country: "USA"
email: "rayanp!!@shiphero.com"
}
billing_address: {
first_name: "John"
last_name: "Doe"
address1: "17850 Linden Blvd"
city: "Saint Albans"
state: "New York"
zip: "11434"
country: "USA"
email: "rayanp!!!@shiphero.com"
}
line_items: {
sku: "12345678"
partner_line_item_id: "R124D21520297"
quantity: 1
price: "20.00"
}
address_is_business: true
email: "rayanp!@shiphero.com"
}
) {
request_id
complexity
order {
id
legacy_id
order_number
partner_order_id
address_is_business
billing_address {
first_name
last_name
address1
city
state
zip
country
}
}
}
}
Please let me know if you have any questions or concerns.
Best,
RayanP