Error
A valid request URL is required to generate request examples[
{
"main_product_id": "<string>",
"title": "<string>",
"handle": "<string>",
"images": [
{
"id": "<string>",
"url": "<string>",
"width": 123,
"height": 123,
"alt": "<string>"
}
],
"tags": [
"<string>"
],
"price": 123,
"status": "ACTIVE",
"has_online_store_channel": true,
"in_stock": true,
"quantity": 123,
"badges": [
{
"type": "on_sale",
"sale_percentage": 123,
"markets_on_sale": [
{
"market_id": "<string>",
"display_name": "<string>"
}
],
"total_markets": 123,
"market_group_display_name": "<string>"
}
],
"skus": [
"<string>"
],
"created_at": "<string>",
"published_at": "<string>",
"variants": [
{
"id": "<string>",
"title": "<string>",
"sku": "<string>",
"quantity_available": 123,
"image_url": "<string>",
"selected_options": [
{
"name": "<string>",
"value": "<string>"
}
]
}
],
"sort_index": 123,
"market_quantities": {},
"variant_ids_in_collection": [
"<string>"
],
"variants_in_collection": 123,
"variants_total": 123,
"applied_boost_bury_rule": {
"strength": 123,
"type": "badge",
"badge": "on_sale",
"top_n": 123
},
"metafield_sort_value": "<string>"
}
]{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}API Reference
Read a collection's products in their current order
Returns the collection’s products in the order the storefront shows now (the main version’s sort, pins and rules). Read-only.
GET
/
collections
/
{collection_id}
/
initial-products
Error
A valid request URL is required to generate request examples[
{
"main_product_id": "<string>",
"title": "<string>",
"handle": "<string>",
"images": [
{
"id": "<string>",
"url": "<string>",
"width": 123,
"height": 123,
"alt": "<string>"
}
],
"tags": [
"<string>"
],
"price": 123,
"status": "ACTIVE",
"has_online_store_channel": true,
"in_stock": true,
"quantity": 123,
"badges": [
{
"type": "on_sale",
"sale_percentage": 123,
"markets_on_sale": [
{
"market_id": "<string>",
"display_name": "<string>"
}
],
"total_markets": 123,
"market_group_display_name": "<string>"
}
],
"skus": [
"<string>"
],
"created_at": "<string>",
"published_at": "<string>",
"variants": [
{
"id": "<string>",
"title": "<string>",
"sku": "<string>",
"quantity_available": 123,
"image_url": "<string>",
"selected_options": [
{
"name": "<string>",
"value": "<string>"
}
]
}
],
"sort_index": 123,
"market_quantities": {},
"variant_ids_in_collection": [
"<string>"
],
"variants_in_collection": 123,
"variants_total": 123,
"applied_boost_bury_rule": {
"strength": 123,
"type": "badge",
"badge": "on_sale",
"top_n": 123
},
"metafield_sort_value": "<string>"
}
]{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Response
The products in grid order.
Was this page helpful?

