Order

Order Properties
Field
Description
alternate_id
Custom unique identifier that can be used to lookup an order. This typically is the primary key of the order located in a system outside of the Malomo Platform.
created_at
When an Order was created on the Malomo Platform.
customer
Customer an Order belongs to.
email
Email address that should be used for communication about an order. This email address may be different from the Customer email address.
id
Unique identifier for an Order.
meta
Additional, arbitrary information attached to an Order. These can be useful for storing additional information about an order in a structured format.
number
A number identifying an order placed by a customer.
shipments
Shipments associated with an Order.
updated_at
When an Order was last updated.
Create an Order
POST https://api.gomalomo.com/orders
Request Body
alternate_id
string
Custom unique identifier that can be used to lookup an Order.
customer
object
Customer object used to assign a Customer to an Order.
string
Email address to be used for communication with a customer about a specific order.
meta
object
Additional, arbitrary information attached to an Order.
number
string
A number identifying an order placed by a customer.
shipments
array
An array of Shipment objects containing both a carrier and tracking_code.
{
"alternate_id": "450789469",
"created_at": "2019-01-30T13:30:00Z",
"customer": {
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith"
},
"email": "[email protected]",
"id": "58f3d13f-2979-462b-92f8-4b85c6ee6abe",
"meta": {
"shopify_order": {
"order_id": 450789469
}
}
"number": "1000",
"shipments": [
{
"alternative_carrier_identifier": null,
"carrier": "usps",
"carrier_name": "USPS",
"carrier_service": "First-Class Package Service",
"carrier_url": "https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=9400000000000000000000"
"container_type": null,
"delivered_at": "2019-01-30T13:30:00",
"destination": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"estimated_delivered_at": "2019-01-30T13:30:00",
"estimated_local_delivered_at": null,
"estimated_local_delivered_on": null,
"guaranteed_delivered_at": null,
"id": "ef1e8884-5188-457a-950a-6247c5e59e91",
"initial_delivery_attempted_at": "2019-01-30T13:30:00",
"is_return": false,
"origin": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"original_estimated_delivered_at": "2019-01-30T13:30:00",
"scan_events": [
{
"carrier_code": "GX",
"description": "Shipping Label Created, USPS Awaiting Item",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN",
},
"message": "January 28 1:23 pm Shipping Label Created, USPS Awaiting Item in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T13:23:00",
"source": "USPS",
"status": "pre_transit",
"status_detail": "label_created"
},
{
"carrier_code": "OA",
"description": "Accepted at USPS Origin Facility",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 28 8:29 pm Accepted at USPS Origin Facility in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T20:29:00",
"source": "USPS",
"status": "in_transit",
"status_detail": "received_at_origin_facility"
},
{
"carrier_code": "OF",
"description": "Out for Delivery",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 9:16 am Out for Delivery in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T09:16:00",
"source": "USPS",
"status": "out_for_delivery",
"status_detail": "out_for_delivery"
},
{
"carrier_code": "01",
"description": "Delivered, In/At Mailbox",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 1:30 pm Delivered, In/At Mailbox in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T13:30:00",
"source": "USPS",
"status": "delivered",
"status_detail": "arrived_at_destination"
}
],
"signed_by": "null",
"status": "delivered",
"tracking_code": "9400000000000000000000",
"weight": null
}
],
"updated_at": "2019-01-30T13:30:00Z"
}Retrieve an Order
GET https://api.gomalomo.com/orders/:id
Path Parameters
id
string
Unique identifier of the desired order
{
"alternate_id": "450789469",
"created_at": "2019-01-30T13:30:00Z",
"customer": {
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith"
},
"email": "[email protected]",
"id": "58f3d13f-2979-462b-92f8-4b85c6ee6abe",
"meta": {
"shopify_order": {
"order_id": 450789469
}
}
"number": "1000",
"shipments": [
{
"alternative_carrier_identifier": null,
"carrier": "usps",
"carrier_name": "USPS",
"carrier_service": "First-Class Package Service",
"carrier_url": "https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=9400000000000000000000"
"container_type": null,
"delivered_at": "2019-01-30T13:30:00",
"destination": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"estimated_delivered_at": "2019-01-30T13:30:00",
"estimated_local_delivered_at": null,
"estimated_local_delivered_on": null,
"guaranteed_delivered_at": null,
"id": "ef1e8884-5188-457a-950a-6247c5e59e91",
"initial_delivery_attempted_at": "2019-01-30T13:30:00",
"is_return": false,
"origin": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"original_estimated_delivered_at": "2019-01-30T13:30:00",
"scan_events": [
{
"carrier_code": "GX",
"description": "Shipping Label Created, USPS Awaiting Item",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN",
},
"message": "January 28 1:23 pm Shipping Label Created, USPS Awaiting Item in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T13:23:00",
"source": "USPS",
"status": "pre_transit",
"status_detail": "label_created"
},
{
"carrier_code": "OA",
"description": "Accepted at USPS Origin Facility",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 28 8:29 pm Accepted at USPS Origin Facility in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T20:29:00",
"source": "USPS",
"status": "in_transit",
"status_detail": "received_at_origin_facility"
},
{
"carrier_code": "OF",
"description": "Out for Delivery",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 9:16 am Out for Delivery in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T09:16:00",
"source": "USPS",
"status": "out_for_delivery",
"status_detail": "out_for_delivery"
},
{
"carrier_code": "01",
"description": "Delivered, In/At Mailbox",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 1:30 pm Delivered, In/At Mailbox in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T13:30:00",
"source": "USPS",
"status": "delivered",
"status_detail": "arrived_at_destination"
}
],
"signed_by": "null",
"status": "delivered",
"tracking_code": "9400000000000000000000",
"weight": null
}
],
"updated_at": "2019-01-30T13:30:00Z"
}Retrieve an Order by Alternate Id
GET https://api.gomalomo.com/orders/?alternate_id=:alternate_id
Query Parameters
alternate_id
string
Custom, unique identifier that can be used to lookup an Order.
{
"alternate_id": "450789469",
"created_at": "2019-01-30T13:30:00Z",
"customer": {
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith"
},
"email": "[email protected]",
"id": "58f3d13f-2979-462b-92f8-4b85c6ee6abe",
"meta": {
"shopify_order": {
"order_id": 450789469
}
}
"number": "1000",
"shipments": [
{
"alternative_carrier_identifier": null,
"carrier": "usps",
"carrier_name": "USPS",
"carrier_service": "First-Class Package Service",
"carrier_url": "https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=9400000000000000000000"
"container_type": null,
"delivered_at": "2019-01-30T13:30:00",
"destination": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"estimated_delivered_at": "2019-01-30T13:30:00",
"estimated_local_delivered_at": null,
"estimated_local_delivered_on": null,
"guaranteed_delivered_at": null,
"id": "ef1e8884-5188-457a-950a-6247c5e59e91",
"initial_delivery_attempted_at": "2019-01-30T13:30:00",
"is_return": false,
"origin": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"original_estimated_delivered_at": "2019-01-30T13:30:00",
"scan_events": [
{
"carrier_code": "GX",
"description": "Shipping Label Created, USPS Awaiting Item",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN",
},
"message": "January 28 1:23 pm Shipping Label Created, USPS Awaiting Item in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T13:23:00",
"source": "USPS",
"status": "pre_transit",
"status_detail": "label_created"
},
{
"carrier_code": "OA",
"description": "Accepted at USPS Origin Facility",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 28 8:29 pm Accepted at USPS Origin Facility in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T20:29:00",
"source": "USPS",
"status": "in_transit",
"status_detail": "received_at_origin_facility"
},
{
"carrier_code": "OF",
"description": "Out for Delivery",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 9:16 am Out for Delivery in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T09:16:00",
"source": "USPS",
"status": "out_for_delivery",
"status_detail": "out_for_delivery"
},
{
"carrier_code": "01",
"description": "Delivered, In/At Mailbox",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 1:30 pm Delivered, In/At Mailbox in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T13:30:00",
"source": "USPS",
"status": "delivered",
"status_detail": "arrived_at_destination"
}
],
"signed_by": "null",
"status": "delivered",
"tracking_code": "9400000000000000000000",
"weight": null
}
],
"updated_at": "2019-01-30T13:30:00Z"
}Retrieve an Order by Tracking Code
GET https://api.gomalomo.com/orders/?tracking_code=:tracking_code
Query Parameters
tracking_code
string
Code provided by the carrier to tracking a shipment.
{
"alternate_id": "450789469",
"created_at": "2019-01-30T13:30:00Z",
"customer": {
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith"
},
"email": "[email protected]",
"id": "58f3d13f-2979-462b-92f8-4b85c6ee6abe",
"meta": {
"shopify_order": {
"order_id": 450789469
}
}
"number": "1000",
"shipments": [
{
"alternative_carrier_identifier": null,
"carrier": "usps",
"carrier_name": "USPS",
"carrier_service": "First-Class Package Service",
"carrier_url": "https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=9400000000000000000000"
"container_type": null,
"delivered_at": "2019-01-30T13:30:00",
"destination": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"estimated_delivered_at": "2019-01-30T13:30:00",
"estimated_local_delivered_at": null,
"estimated_local_delivered_on": null,
"guaranteed_delivered_at": null,
"id": "ef1e8884-5188-457a-950a-6247c5e59e91",
"initial_delivery_attempted_at": "2019-01-30T13:30:00",
"is_return": false,
"origin": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"original_estimated_delivered_at": "2019-01-30T13:30:00",
"scan_events": [
{
"carrier_code": "GX",
"description": "Shipping Label Created, USPS Awaiting Item",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN",
},
"message": "January 28 1:23 pm Shipping Label Created, USPS Awaiting Item in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T13:23:00",
"source": "USPS",
"status": "pre_transit",
"status_detail": "label_created"
},
{
"carrier_code": "OA",
"description": "Accepted at USPS Origin Facility",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 28 8:29 pm Accepted at USPS Origin Facility in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T20:29:00",
"source": "USPS",
"status": "in_transit",
"status_detail": "received_at_origin_facility"
},
{
"carrier_code": "OF",
"description": "Out for Delivery",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 9:16 am Out for Delivery in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T09:16:00",
"source": "USPS",
"status": "out_for_delivery",
"status_detail": "out_for_delivery"
},
{
"carrier_code": "01",
"description": "Delivered, In/At Mailbox",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 1:30 pm Delivered, In/At Mailbox in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T13:30:00",
"source": "USPS",
"status": "delivered",
"status_detail": "arrived_at_destination"
}
],
"signed_by": "null",
"status": "delivered",
"tracking_code": "9400000000000000000000",
"weight": null
}
],
"updated_at": "2019-01-30T13:30:00Z"
}Retrieve an Order by Order Number and Customer Email Address
GET https://api.gomalomo.com/orders/?number=:number&customer_email=:customer_email
Query Parameters
number
string
Number of the Order to retrieve.
customer_email
string
Email address of the Customer associated with the Order to retrieve.
{
"alternate_id": "450789469",
"created_at": "2019-01-30T13:30:00Z",
"customer": {
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith"
},
"email": "[email protected]",
"id": "58f3d13f-2979-462b-92f8-4b85c6ee6abe",
"meta": {
"shopify_order": {
"order_id": 450789469
}
}
"number": "1000",
"shipments": [
{
"alternative_carrier_identifier": null,
"carrier": "usps",
"carrier_name": "USPS",
"carrier_service": "First-Class Package Service",
"carrier_url": "https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=9400000000000000000000"
"container_type": null,
"delivered_at": "2019-01-30T13:30:00",
"destination": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"estimated_delivered_at": "2019-01-30T13:30:00",
"estimated_local_delivered_at": null,
"estimated_local_delivered_on": null,
"guaranteed_delivered_at": null,
"id": "ef1e8884-5188-457a-950a-6247c5e59e91",
"initial_delivery_attempted_at": "2019-01-30T13:30:00",
"is_return": false,
"origin": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"original_estimated_delivered_at": "2019-01-30T13:30:00",
"scan_events": [
{
"carrier_code": "GX",
"description": "Shipping Label Created, USPS Awaiting Item",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN",
},
"message": "January 28 1:23 pm Shipping Label Created, USPS Awaiting Item in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T13:23:00",
"source": "USPS",
"status": "pre_transit",
"status_detail": "label_created"
},
{
"carrier_code": "OA",
"description": "Accepted at USPS Origin Facility",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 28 8:29 pm Accepted at USPS Origin Facility in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T20:29:00",
"source": "USPS",
"status": "in_transit",
"status_detail": "received_at_origin_facility"
},
{
"carrier_code": "OF",
"description": "Out for Delivery",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 9:16 am Out for Delivery in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T09:16:00",
"source": "USPS",
"status": "out_for_delivery",
"status_detail": "out_for_delivery"
},
{
"carrier_code": "01",
"description": "Delivered, In/At Mailbox",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 1:30 pm Delivered, In/At Mailbox in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T13:30:00",
"source": "USPS",
"status": "delivered",
"status_detail": "arrived_at_destination"
}
],
"signed_by": "null",
"status": "delivered",
"tracking_code": "9400000000000000000000",
"weight": null
}
],
"updated_at": "2019-01-30T13:30:00Z"
}Retrieve a List of Orders
GET https://api.gomalomo.com/orders
Query Parameters
prev
string
Retrieve orders before a given cursor.
next
string
Retrieve orders after a given cursor.
[
{
"alternate_id": "450789469",
"created_at": "2019-01-30T13:30:00Z",
"customer": {
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith"
},
"email": "[email protected]",
"id": "58f3d13f-2979-462b-92f8-4b85c6ee6abe",
"meta": {
"shopify_order": {
"order_id": 450789469
}
}
"number": "1000",
"shipments": [
{
"alternative_carrier_identifier": null,
"carrier": "usps",
"carrier_name": "USPS",
"carrier_service": "First-Class Package Service",
"carrier_url": "https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=9400000000000000000000"
"container_type": null,
"delivered_at": "2019-01-30T13:30:00",
"destination": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"estimated_delivered_at": "2019-01-30T13:30:00",
"estimated_local_delivered_at": null,
"estimated_local_delivered_on": null,
"guaranteed_delivered_at": null,
"id": "ef1e8884-5188-457a-950a-6247c5e59e91",
"initial_delivery_attempted_at": "2019-01-30T13:30:00",
"is_return": false,
"origin": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"original_estimated_delivered_at": "2019-01-30T13:30:00",
"scan_events": [
{
"carrier_code": "GX",
"description": "Shipping Label Created, USPS Awaiting Item",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN",
},
"message": "January 28 1:23 pm Shipping Label Created, USPS Awaiting Item in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T13:23:00",
"source": "USPS",
"status": "pre_transit",
"status_detail": "label_created"
},
{
"carrier_code": "OA",
"description": "Accepted at USPS Origin Facility",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 28 8:29 pm Accepted at USPS Origin Facility in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T20:29:00",
"source": "USPS",
"status": "in_transit",
"status_detail": "received_at_origin_facility"
},
{
"carrier_code": "OF",
"description": "Out for Delivery",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 9:16 am Out for Delivery in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T09:16:00",
"source": "USPS",
"status": "out_for_delivery",
"status_detail": "out_for_delivery"
},
{
"carrier_code": "01",
"description": "Delivered, In/At Mailbox",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 1:30 pm Delivered, In/At Mailbox in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T13:30:00",
"source": "USPS",
"status": "delivered",
"status_detail": "arrived_at_destination"
}
],
"signed_by": "null",
"status": "delivered",
"tracking_code": "9400000000000000000000",
"weight": null
}
],
"updated_at": "2019-01-30T13:30:00Z"
}
]Update an Order
PUT https://api.gomalomo.com/orders/:id
Path Parameters
id
string
Unique identifier of the order to update
Request Body
customer
object
Customer object used to assign a Customer to an Order. If a value of null is provided the customer will be removed from the order.
string
Email address to be used for communication with a customer about a specific order.
meta
object
Additional, arbitrary information attached to an Order.
shipments
array
An array of objects containing both a carrier and tracking_code. Note that this must be a complete list of carrier and tracking_code combinations for an Order. If a carrier and tracking_code that currently exist on an Order are not supplied that Shipment will be removed from the Order.
{
"alternate_id": "450789469",
"created_at": "2019-01-30T13:30:00Z",
"customer": {
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith"
},
"email": "[email protected]",
"id": "58f3d13f-2979-462b-92f8-4b85c6ee6abe",
"meta": {
"shopify_order": {
"order_id": 450789469
}
}
"number": "1000",
"shipments": [
{
"alternative_carrier_identifier": null,
"carrier": "usps",
"carrier_name": "USPS",
"carrier_service": "First-Class Package Service",
"carrier_url": "https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=9400000000000000000000"
"container_type": null,
"delivered_at": "2019-01-30T13:30:00",
"destination": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"estimated_delivered_at": "2019-01-30T13:30:00",
"estimated_local_delivered_at": null,
"estimated_local_delivered_on": null,
"guaranteed_delivered_at": null,
"id": "ef1e8884-5188-457a-950a-6247c5e59e91",
"initial_delivery_attempted_at": "2019-01-30T13:30:00",
"is_return": false,
"origin": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"original_estimated_delivered_at": "2019-01-30T13:30:00",
"scan_events": [
{
"carrier_code": "GX",
"description": "Shipping Label Created, USPS Awaiting Item",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN",
},
"message": "January 28 1:23 pm Shipping Label Created, USPS Awaiting Item in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T13:23:00",
"source": "USPS",
"status": "pre_transit",
"status_detail": "label_created"
},
{
"carrier_code": "OA",
"description": "Accepted at USPS Origin Facility",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 28 8:29 pm Accepted at USPS Origin Facility in INDIANAPOLIS, IN",
"scanned_at": "2019-01-28T20:29:00",
"source": "USPS",
"status": "in_transit",
"status_detail": "received_at_origin_facility"
},
{
"carrier_code": "OF",
"description": "Out for Delivery",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 9:16 am Out for Delivery in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T09:16:00",
"source": "USPS",
"status": "out_for_delivery",
"status_detail": "out_for_delivery"
},
{
"carrier_code": "01",
"description": "Delivered, In/At Mailbox",
"location": {
"city": "INDIANAPOLIS",
"country": null,
"postal_code": "46203",
"state": "IN"
},
"message": "January 30 1:30 pm Delivered, In/At Mailbox in INDIANAPOLIS, IN",
"scanned_at": "2019-01-30T13:30:00",
"source": "USPS",
"status": "delivered",
"status_detail": "arrived_at_destination"
}
],
"signed_by": "null",
"status": "delivered",
"tracking_code": "9400000000000000000000",
"weight": null
}
],
"updated_at": "2019-01-30T13:30:00Z"
}Delete an Order
DELETE https://api.gomalomo.com/orders/:id
Path Parameters
id
string
Unique identifier of the order delete
Create an Event for an Order
POST https://api.gomalomo.com/orders/:order_id/events
Path Parameters
order_id
string
Unique id of the Order to create an Event for.
Request Body
label
string
Human-friendly text describing the event.
link_back_url
string
URL pointing to a 3rd party resources that may be relevant to an event.
properties
object
Arbitrary data relevant to the event.
timestamp
integer
A unix timestamp of when the event occurred. If not provided the timestamp will default to the current date and time.
type
string
Type of event. This value should be consistent for the same types of event.
{
"created_at": "2019-01-30T13:30:00Z",
"id": "1a3c1090-efd1-11eb-9a03-0242ac130003",
"label": "Order #1000 fulfilled",
"link_back_url": "https://goodest-boi.myshopify.com/admin/orders/5555555555555",
"properties": {
"shopify_order": {
"id": "5555555555555"
}
},
"timestamp": 1548855000
"type": "ShopifyOrderFulfilled",
"updated_at": "2019-01-30T13:30:00Z",
}Retrieve a List of Order Events
GET https://api.gomalomo.com/orders/:order_id/events
Path Parameters
order_id
string
Unique id of the Order to retrieve events for.
Query Parameters
prev
string
Retrieve events before a given cursor.
next
string
Retrieve events after a given cursor.
[
{
"created_at": "2019-01-30T13:30:00Z",
"id": "1a3c1090-efd1-11eb-9a03-0242ac130003",
"label": "Order #1000 fulfilled",
"link_back_url": "https://goodest-boi.myshopify.com/admin/orders/5555555555555",
"properties": {
"shopify_order": {
"id": "5555555555555"
}
},
"timestamp": 1548855000
"type": "ShopifyOrderFulfilled",
"updated_at": "2019-01-30T13:30:00Z",
}
]Last updated
Was this helpful?