Sign in

Create order item

documented

Add an item to an order.

POST /3dCartWebAPI/v1/OrderItemsOrdersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://apirest.3dcart.com/3dCartWebAPI/v1/OrderItems" \
  -X POST \
  -u "{{SHIFT4SHOP_SECRET}}:" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"OrderID": {{$order_id}}, "OrderItemList": [ {"CatalogID": {{$catalog_id}}, "ItemIndexID": {{$item_index_id}}, "ItemID": "{{$item_id}}", "ItemQuantity": {{$quantity}}, "ItemDescription": "{{$description}}", "ItemUnitPrice": {{$unit_price}}, "ItemWeight": {{$weight}}, "ItemOptions": "{{$options}}" } ] }'