Create order record
mailbluster_create_orderWRITE: record an order (a tracking record: it does not take payment, charge a card or send email). The customer's email becomes a lead if none exists, and the lead's tags are merged. customer.subscribed is REQUIRED because MailBluster would otherwise default it to true: pass false unless the customer has consented to email. For a customer who already exists, the value may replace their stored subscription state. Only set subscribed=true when the person has given consent to receive email from this brand (the user is responsible for lawful consent); this server never subscribes anyone on its own. POST /orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Ordered products. | |
| currency | Yes | ISO currency code, e.g. USD. | |
| customer | Yes | ||
| order_id | Yes | Your unique order id. | |
| campaign_id | No | Id of the campaign that led to the order, if any. | |
| total_price | Yes | Order total, e.g. 10.64. |