Discussions

Ask a Question
Back to All

Create fulfillment api call help

I am having issues with creating a fulfillment object through the api call "create fulfillment".

I get a 422 response with the error message:
{
"error": "Request unprocessable: Included orders invoices line items quantity Stock not available; Included orders invoices line items quantity Not stocked at this location"
}

Can I set the stock quantity for invoice line items?
Can I set the stock quantity for invoice line items for specific locations?

Just to clarify, the location would be referring to the locations found attached to the fulfillment::location api calls?

Any help would be greatly appreciated.