Skip to navigation

Submit a New Order

View as Markdown

Submit a New Order

Creates a new photo order with customer details and selected photos.

Endpoint

POST https://convention.photos/api/orders/create

Description

Processes a complete order submission including customer information, shipping address, selected photos, and payment processing. Validates address using USPS and creates order record.

Request Body

{
"eventSlug": "ASDAR26",
"photos": ["1234", "1235"],
"customerInfo": {
"name": "John Doe",
"email": "john@example.com"
},
"shippingAddress": {
"line1": "123 Main St",
"city": "Orlando",
"state": "FL",
"zip": "32801"
}
} ```
### Response
Returns order confirmation with order number and status.
### Use Cases
- Complete photo ordering process - Process customer orders with validation - Generate order receipts and tracking
### Authentication
May require CAPTCHA or email verification for spam prevention.

Response

Order created successfully