Hi there,
When using orderCreate - GraphQL Admin it does not add shop configured taxes. What should I do?
Here’s the shop config
this is the input and response
{customer:
{toUpsert:
{firstName: "Jane",
email: "test@example.com",
note: "Test Customer",
tags: ["test"],
addresses:
[{address1: "123 Fake Street",
city: "Fakecity",
phone: "1234567890",
zip: "K2P 1L4",
country: "CA",
province: "Ontario",
firstName: "Jane",
lastName: "*"}]}},
discountCode: {itemFixedDiscountCode: {code: "TEST DISCOUNT", amountSet: {shopMoney: {amount: 6.9, currencyCode: "USD"}}}},
financialStatus: "PENDING",
lineItems:
[{priceSet: {shopMoney: {amount: 9.6, currencyCode: "USD"}}, requiresShipping: true, title: "TEST LINE ITEM", quantity: 1},
{variantId: "gid://shopify/ProductVariant/30092406194240", quantity: 1, requiresShipping: true}],
note: "TEST NOTE",
tags: ["TEST", "TAG"],
shippingAddress:
{address1: "123 Fake Street",
city: "Fakecity",
phone: "1234567890",
zip: "K2P 1L4",
country: "CA",
province: "Ontario",
firstName: "Jane",
lastName: "*"},
shippingLines: [{title: "Test Shipping Line", priceSet: {shopMoney: {amount: 69, currencyCode: "USD"}}}],
sourceName: "tokopedia"}
response
{"orderCreate" =>
{"userErrors" => [],
"order" =>
{"id" => "gid://shopify/Order/4396465422400",
"legacyResourceId" => "4396465422400",
"name" => "#1314",
"shippingAddress" =>
{"address1" => "123 Fake Street",
"address2" => nil,
"city" => "Fakecity",
"country" => "Canada",
"firstName" => "Jane",
"lastName" => "*",
"phone" => "1234567890",
"province" => "Ontario",
"zip" => "K2P 1L4"}}}}
This is the order created. Note that it is a Canadian shipping address and the missing taxes