This is the permission I applied for:
“read_customers”,
“write_customers”,
“read_products”,
“write_products”,
“read_inventory”,
“write_inventory”,
“read_orders”,
“write_orders”,
“read_order_edits”,
“write_order_edits”,
“read_discounts”,
“write_discounts”,
“read_all_orders”,
“read_locations”,
“write_locations”,
“read_locales”,
“write_locales”,
“read_fulfillments”,
“write_fulfillments”,
“read_assigned_fulfillment_orders”,
“write_assigned_fulfillment_orders”,
“read_merchant_managed_fulfillment_orders”,
“write_merchant_managed_fulfillment_orders”,
“read_third_party_fulfillment_orders”,
“write_third_party_fulfillment_orders”
The waybill was uploaded normally, but suddenly it returned “The api_client does not have access to the fulfillment order”.
The waybill was uploaded normally, but suddenly it returned “The api_client does not have access to the fulfillment order”.
The page display permissions include:
Detailed information of all orders, order editing, order shipping, assigned shipping, merchant-managed shipping, or third-party shipping,
I can’t find the reason for the mistake
:$request = [
“query” => "
mutation FulfillmentCreate($fulfillment: FulfillmentV2Input!) {
fulfillmentCreateV2(fulfillment: $fulfillment) {
fulfillment {
fulfillmentLineItems(first: 5) {
edges {
node {
id
lineItem {
title
variant {
id
}
}
quantity
originalTotalSet {
shopMoney {
amount
currencyCode
}
}
}
}
}
status
estimatedDeliveryAt
location {
id
legacyResourceId
}
service {
handle
}
trackingInfo(first: 5) {
company
number
url
}
originAddress {
address1
address2
city
countryCode
provinceCode
zip
}
}
userErrors {
field
message
}
}
}
",
“variables” => [
“fulfillment” => [
“lineItemsByFulfillmentOrder” => $fulfillment_orders,
“trackingInfo” => [
“company” => $param[‘carrierName’],
“number” => $param[‘trackingNumber’],
// “url” => “http://www.fedex.com/track?tracknumbers=1234567890”
]
]
]
];