611 results
Sorted by relevance
API / Orders
View Order Endpoint
Structure
Order
Name
Type
Description
reference
string
The unique reference for the order
status
object
The Order Status of the order (
null if none)
customer
object
The Customer of the order (
null if none)
email
string
The email of the customer that placed t...
API / Orders
Create Order Endpoint
Structure
Order
Name
Type
Description
Required
id
int
The id for the order
No
reference
string
The unique reference for the order
Yes
status_id
int
The status id of the order, can also be resolved from
state
If
ordered_at is not null
state
string
Alternative...
API / Orders
Flag Order Endpoints
Examples
Adding a Flag
Request
POST /api/orders/{id|reference}/flags/{id|name}
Response
{
"order": {
"id": 1
},
"flag": {
"id": 1
}
}
Removing a Flag
Request
DELETE /api/orders/{id|reference}/flags/{id|name}
Response
204 No Cont...
API / Orders
Order Comments Endpoint
Structure
Name
Type
Description
Required
id
int
The id for the comment
No
admin
int|string
The id or email of the admin
No
message
string
The comment message
Yes
customer_facing
boolean
Whether the comment is customer facing (default:
false)
No
created_at
tim...
API / Fulfillments
Create Fulfillment Endpoint
Structure
Fulfillment
Name
Type
Description
Required
id
int
The id for the fulfillment
No
reference
string
The reference for the fulfillment
No
state
string
The state of the fulfillment (defaults to method's default if not passed)
No
method
int| string
The ful...
API / Fulfillments
Delete Fulfillment Endpoint
Example Request
DELETE /api/orders/{id|reference}/fulfillments/{id|reference}
Example Response
204 No Content
API / Order Statuses
Order Status Index Endpoint
Structure
See
View Order Status Endpoint for the structure of the order status payload inside the
data array.
Example Request
GET /api/order-statuses?per_page=2
Example Response
{
"current_page": 1,
"data": [
//
],
"first_page_url": "...
API / Order Statuses
View Order Status Endpoint
Structure
Order Status
Name
Type
Description
id
int
The id of the order status
name
string
The name of the order status
state
string
The state of the order status
group
object
The Group of the order status
Order Status Group
Name
Type
Description
id
int
The id...
API / Products
Product Index Endpoint
Structure
See View Product Endpoint for the structure of the order payload inside the data array.
Scopes
Name
Description
Example
active
Only return active products
?scope=active
inactive
Only return inactive products
?scope=inactive
visible
Only return visibl...
API / Products
View Product Endpoint
Structure
Product
Name
Type
Description
model
string
The unique model identifier for the product
name
string
The display name of the product
manufacturer
object
The Manufacturer object (null when none)
summary
string
A short summary of the product
description
...
API / Products
Product Search Endpoint
Pre-requisites
This endpoint performs product search queries using Elasticsearch. Make sure your product documents are indexed before using this route:
php artisan aero:search:reindex --type=product
You must run this command after installing the API.
Structure...
API / Products
Create Product Endpoint
Structure
Product
Name
Type
Description
Required
id
int
The id for the product
No
model
string
The unique model identifier for the product
Yes
name
string
The display name of the product
Yes
manufacturer
string
The manufacturer/brand of the product
No
summary
...
API / Products
Update Product Endpoint
Structure
Product
Name
Type
Description
Required
name
string
The name of the product
No
manufacturer
string
The manufacturer of the product
No
summary
string
The summary of the product
No
description
string
The description of the product
No
active
boolean
Whet...
API / Variants
Create Variant Endpoint
Structure
Variant
Name
Type
Description
Required
id
int
The id for the variant
No
sku
string
The unique SKU for the variant
Yes
reference
string
The unique reference for the variant
No
name
string
Display name of the variant
No
summary
string
A short summary o...
API / Variants
Update Variant Endpoint
Structure
Variant
Name
Type
Description
Required
sku
string
The unique SKU for the variant
Yes
reference
string
The unique reference for the variant
No
name
string
Display name of the variant
No
summary
string
A short summary of the variant
No
description
stri...
API / Manufacturers
Manufacturer Index Endpoint
Structure
See View Manufacturer Endpoint for the structure of the manufacturer payload inside the
data array.
Example Request
GET /api/manufacturers?per_page=2
Example Response
{
"current_page": 1,
"data": [
//...
],
"first_page_url": "h...
API / Manufacturers
View Manufacturer Endpoint
Structure
Manufacturer
Name
Type
Description
name
string
The name of the manufacturer
slug
string
The slug of the manufacturer
reference
string
The reference of the manufacturer
logic
string
The logic of the rules for the manufacturer
logo
object
The logo of t...
API / Manufacturers
Create Manufacturer Endpoint
Structure
Manufacturer
Name
Type
Description
Required
id
int
The id for the manufacturer
No
name
string
The name of the manufacturer
Yes
slug
string
The slug of the manufacturer, if not present it is auto-generated from name
No
reference
string
The reference o...