post
https://www.pelcro.com/api/v1/core/orders
Create a new e-commerce order.
Overview
Create a new order for e-commerce products. The order will include the specified SKUs and process payment from the customer.
Example: Create an order when a customer completes checkout with multiple items in their cart.
Conditional Requirements
| Condition | Required Fields |
|---|---|
| Always | user_id, items, items.*.sku_id, items.*.quantity |
| Any SKU has shippable product OR account has taxes enabled for e-commerce | address_id OR address.* fields |
address_id not provided AND address is required | address.first_name, address.last_name, address.line1, address.city, address.country, address.postal_code, address.state (unless country=GB) |
