Create order
documentedCreate a new order in a specified campaign (optionally including ship_to and lineitems; see limitations).
POST /ordersOrdersno implementation yet0 runsNo 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://api.printfection.com/v2/orders" \
-u "{{PRINTFECTION_API_KEY}}:" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"campaign_id": {{$campaign_id}}, "external_id": "{{$external_id}}", "ship_to": {"name": "{{$name}}", "address": "{{$address}}", "address2": "{{$address2}}", "company": "{{$company}}", "city": "{{$city}}", "state": "{{$state}}", "zip": "{{$zip}}", "country": "{{$country}}", "email": "{{$email}}", "phone": "{{$phone}}"}, "lineitems": [{"item_id": {{$item_id}}, "size_id": {{$size_id}}, "quantity": {{$quantity}}}]}'