Orders
Get an order
Orders
Get an order
Retrieves a single order for a vendor.
Notes
All orders returned have been paid for.
GET
/
api
/
vendor
/
v1
/
orders
/
{id}
curl --request GET \
--url https://console.lomaplatform.com/api/vendor/v1/orders/{id} \
--header 'API-Key: <api-key>'
{
"id": "i_abc123",
"price": "575.00",
"status": "completed",
"created_at": "2024-08-23 19:10:23.266295+00",
"updated_at": "2024-08-23 19:24:45.962+00",
"requirements_due": "2024-09-10",
"requirements_submitted": "2024-08-23",
"start_date": "2024-10-01",
"end_date": "2024-10-01",
"requirement_schema": [
{
"id": "link",
"name": "Email Link",
"type": "text",
"description": "URL you want embedded into the email for a call to action.",
"is_required": true
}
],
"requirement_meta": {
"link": "http://www.example.com"
},
"parent_order": {
"id": "ABC123",
"created_at": "2024-08-23 19:10:23.266295+00",
"updated_at": "2024-08-23 19:24:46.059+00",
"invoice_id": "in_abc123",
"payment_date": "2024-08-23"
},
"product": {
"id": "prod_abc123",
"name": "Phone Outreach for School Fundraisers"
},
"package": {
"id": "pkg_abc123",
"name": "60 Connections"
},
"org": {
"id": "org_abc123",
"name": "LOMA"
},
"location": {
"id": "abc123",
"name": "LOMA HQ",
"address_line_1": "1234 Main St",
"address_line_2": null,
"address_city": "Atlanta",
"address_state": "Georgia",
"address_zip": "30303",
"address_country": "US"
},
"kpis": [
{
"id": "evJcYq2GgBtdoVxa",
"name": "Schools Engaged",
"value": 2,
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
},
{
"id": "mxhTwZdeIxA2wBUx",
"name": "Emails Collected",
"value": null,
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
}
],
"results": [
{
"id": "res_abc123",
"title": "connections.csv",
"created_at": "2024-08-23T19:26:44.583043+00:00",
"updated_at": "2024-08-23T19:26:44.583043+00:00"
},
{
"id": "res_abc123",
"title": "headshot.png",
"created_at": "2024-08-23T19:25:41.605688+00:00",
"updated_at": "2024-08-23T19:25:41.605688+00:00"
}
]
}
Authorizations
API Key for the vendor
Response
200
application/json
200 OK
Available options:
pending_payment
, pending
, confirmed
, in_progress
, completed
, cancelled
The requirements schema for the order.
Minimum length:
1
Minimum length:
1
Allowed value:
"select"
The requirements submitted by the customer. Each key should map to a requirement ID.
curl --request GET \
--url https://console.lomaplatform.com/api/vendor/v1/orders/{id} \
--header 'API-Key: <api-key>'
{
"id": "i_abc123",
"price": "575.00",
"status": "completed",
"created_at": "2024-08-23 19:10:23.266295+00",
"updated_at": "2024-08-23 19:24:45.962+00",
"requirements_due": "2024-09-10",
"requirements_submitted": "2024-08-23",
"start_date": "2024-10-01",
"end_date": "2024-10-01",
"requirement_schema": [
{
"id": "link",
"name": "Email Link",
"type": "text",
"description": "URL you want embedded into the email for a call to action.",
"is_required": true
}
],
"requirement_meta": {
"link": "http://www.example.com"
},
"parent_order": {
"id": "ABC123",
"created_at": "2024-08-23 19:10:23.266295+00",
"updated_at": "2024-08-23 19:24:46.059+00",
"invoice_id": "in_abc123",
"payment_date": "2024-08-23"
},
"product": {
"id": "prod_abc123",
"name": "Phone Outreach for School Fundraisers"
},
"package": {
"id": "pkg_abc123",
"name": "60 Connections"
},
"org": {
"id": "org_abc123",
"name": "LOMA"
},
"location": {
"id": "abc123",
"name": "LOMA HQ",
"address_line_1": "1234 Main St",
"address_line_2": null,
"address_city": "Atlanta",
"address_state": "Georgia",
"address_zip": "30303",
"address_country": "US"
},
"kpis": [
{
"id": "evJcYq2GgBtdoVxa",
"name": "Schools Engaged",
"value": 2,
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
},
{
"id": "mxhTwZdeIxA2wBUx",
"name": "Emails Collected",
"value": null,
"created_at": "2024-08-23T19:10:23.266295+00:00",
"updated_at": "2024-08-23T19:10:23.266295+00:00"
}
],
"results": [
{
"id": "res_abc123",
"title": "connections.csv",
"created_at": "2024-08-23T19:26:44.583043+00:00",
"updated_at": "2024-08-23T19:26:44.583043+00:00"
},
{
"id": "res_abc123",
"title": "headshot.png",
"created_at": "2024-08-23T19:25:41.605688+00:00",
"updated_at": "2024-08-23T19:25:41.605688+00:00"
}
]
}