question

vladavip88 avatar image
vladavip88 asked bryanvargas answered

Create Order - 'itemCode' not saved on order creation

Hi, I'm creating an atomic order using /v3/merchants/{mid}/atomic_order/orders. While creating order, under line items for each item I'm trying to pass and save itemCode property but it is NOT saved.

When I add new items to existing order using /v3/merchants/{mId}/orders/{orderId}/bulk_line and I pass itemCode property to items it IS PROPERLY saved.

Is there any reason not saving itemCode on order creation?

OrdersREST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
bryanvargas avatar image
bryanvargas answered

Atomic order endpoint only supports inventory items found in the Clover Inventory App and you can't edit the data that is already in the database.

Custom edits or custom orders can be made with the bulk_line items endpoint.

More information with working with order can be found here: https://docs.clover.com/docs/working-with-orders

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community