Listing Collection Groups
· Revision #3
View Listing Collection Group Endpoint
This endpoint is only available if aerocargo/listing-collections is installed.
Structure
Listing Collection Group
Name
|
Type
|
Description
|
key |
string |
The key of the listing collection group |
name |
string |
The name for the listing collection group |
listings |
array |
An array of Listing objects |
Listing
Name
|
Type
|
Description
|
id |
int |
The id of the listing |
product_id |
int |
The id of the product linked to the listing |
sort |
int |
The sort of the listing within the group |
Example Request
GET /api/listing-collection-groups/{key}
Example Response
{
"key": "api",
"name": "API Test",
"listings": [
{
"id": 1,
"product_id": 1
}
]
}