We POSTed this:
{
"fulfillment": {
"location_id": 3895984177,
"tracking_number": "1Z6V50R70392709729",
"tracking_company": "UPS",
"line_items": [{
"id": 10456407900421,
"quantity": 1
}, {
"id": 10456407867653,
"quantity": 1
}, {
"id": 10456407933189,
"quantity": 1
}
]
}
}
to one of our shops using this kind of URL:
admin/api/2021-04//orders/{id}/fulfillments.json
We’ve been sending fulfillments, successfully, for over a year. To an older API version: 2020-10. Last week it started failing:
> {"errors":{"line_items":"array contains unpermitted members"}}>
So we noticed we’re on an old REST API version, and our first instinct is to update. That changed the problem to this error:
422 Unprocessible Entity.
{“errors”:{“base”:[“An error occurred, please try again”]}}
No other information. NOTHING. This is happening on ALL of our shops, not just this particular one. We have HUNDREDS of orders needing fulfillment information.
Response headers:
X-Request-ID: c81d5e5d-0bd9-4d36-b9b7-91f1fbdcb472
X-Stats-ApiPermissionId: 27683422257
X-Shopify-Shop-Api-Call-Limit: 1/80
X-Shopify-API-Version: 2021-04
X-Dc: gcp-us-east1,gcp-us-central1,gcp-us-central1
Content-Type: application/json; charset=utf-8
CF-RAY: 6e6a9e6dffb6824a-IAD
X-Sorting-Hat-PodId: 260
We need this fixed. Stat.
