Hi
I am integrating the order_add_line_items api and this is the resquest I am sending is this -
{
order_id: ‘108961187’,
customer_account_id: ‘5471’,
line_items: [
{
partner_line_item_id: ‘shiphero-44sdfafdasdfa’,
product_name: ‘Brst4000’,
sku: ‘Brst4000’,
quantity: 1,
price: ‘123’,
fulfillment_status: ‘pending’
}
]
}
and the error I am getting it is -
Error: Product with sku Brst4000
does not exist: {“response”:{“errors”:[{“message”:“Product with sku Brst4000
does not exist”,“operation”:“order_add_line_items”,“field”:“order_add_line_items”,“request_id”:“5de981dbe7d72c7ddd486b0b”,“code”:5}],“data”:{“order_add_line_items”:null},“status”:200},“request”:{“query”:“mutation mutation_order_add_line_items($addLineItems : AddLineItemsInput!) { order_add_line_items( data : $addLineItems) { request_id complexity order{ id legacy_id order_number } } }”,“variables”:{“addLineItems”:{“order_id”:“108961187”,“customer_account_id”:“5471”,“line_items”:[{“partner_line_item_id”:“shiphero-44sdfafdasdfa”,“product_name”:“Brst4000”,“sku”:“Brst4000”,“quantity”:1,“price”:“123”,“fulfillment_status”:“pending”}]}}}}
when I search this product it is there in the inventory.