This is the documentation for 2022-02-01.

Products

The Products endpoint lets you list all products available.

Variants Attribute is expandable. See: Expanding Objects

List

Returns a collection of products.

Filtering

You can filter your results as follows:

List products for specified id(s)
  • /products?filter[id]=1
  • /products?filter[id]=1,2,3
List products for specified title
  • /products?filter[title]=qui
List products for a specified origin code
  • /products?filter[variants.origin.sku]=58975
List products for a specified origin manufacturer_number
  • /products?filter[origin.manufacturer_number]=X01234

See: Pagination, Filtering

Expanding relationships

You can expand some resources to show more details.

See: Expanding Objects

Expand variant

You can show the variant data instead of the id.

  • /products?expand=variants
Expand variants customizations resource

You can show entire variant data including customizations resources`.

  • /products?expand=variants.views.customizations.resource

Example listing products

Request

GET /products HTTP/1.1

Response

{
    "data": [
        {
            "is_test": false,
            "id": 1,
            "title": "qui ut nemo",
            "description": "Autem nesciunt ipsam excepturi non distinctio quas ullam placeat. Quam quidem rerum veniam corrupti velit aperiam non. Repudiandae rem incidunt atque optio vero et voluptatem. Fuga et quos in ipsa.",
            "created_at": "2017-11-15T08:07:48+00:00",
            "updated_at": "2017-11-15T08:07:48+00:00",
            "variants": [
                1,
                2,
                3
            ]
        },
        {
            "is_test": false,
            "id": 30,
            "title": "ut",
            "description": "Et voluptatem quas neque praesentium qui harum. Ea occaecati perferendis inventore tempore nemo. Nobis perferendis voluptas sed tempore at.",
            "created_at": "2017-11-15T08:07:51+00:00",
            "updated_at": "2017-11-15T08:07:51+00:00",
            "variants": [
                37,
                38,
                39
            ]
        }
        ...
    ],
    "links": {
        "first": "https://api.smake.io/v2/products?page=1",
        "last": null,
        "prev": null,
        "next": "https://api.smake.io/v2/products?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "https://api.smake.io/v2/products",
        "per_page": 25,
        "to": 25
    }
}

Example expanding relationships

Request

GET /products?expand=variants.views.customizations.resource HTTP/1.1

Response

{
    "data": [
        {
            "id": 1,
            "is_test": false,
            "title": "T-Shirt 1 not designable",
            "description": "Qui excepturi voluptas et esse in quis dolores. At molestiae ipsam provident earum aut omnis inventore non. Ea repellat distinctio laboriosam et mollitia qui.",
            "created_at": "2022-04-28T14:31:45+00:00",
            "updated_at": "2022-04-28T14:31:45+00:00",
            "variants": [
                {
                    "id": 1,
                    "state": "completed",
                    "collection_name": "catalogue",
                    "total": 20.49,
                    "price": 19.15,
                    "tax": 1.34,
                    "tax_rate": 7,
                    "option_values": [
                        {
                            "handle": "S",
                            "name": "S",
                            "option_type": {
                                "handle": "size",
                                "name": "Size"
                            }
                        },
                        {
                            "handle": "lime",
                            "name": "lime",
                            "option_type": {
                                "handle": "color",
                                "name": "Color"
                            }
                        }
                    ],
                    "origin": {
                        "sku": "production-variant-1",
                        "external_identifier": "56879425361"
                    },
                    "product": 1,
                    "views": [
                        {
                            "handle": "front",
                            "name": "Front View",
                            "media": [
                                {
                                    "id": 38,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-front-lime.png",
                                    "size": 54738,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/19258c4eeefe4ce98ea37ed670501ba6/view-image-front-lime.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=0e8531c7e8f61c0cb41ca50debac66828c1a171c0f7ae423c5b793981114e451",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:08+00:00",
                                    "updated_at": "2022-04-28T14:31:08+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "back",
                            "name": "Rear View",
                            "media": [
                                {
                                    "id": 39,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-back-lime.png",
                                    "size": 40214,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/6214cdeb5f51499bba015c32e0d29917/view-image-back-lime.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=274d715510661eca5809619f698c07d74922a383dbed301eb8fd5e2b44235219",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:08+00:00",
                                    "updated_at": "2022-04-28T14:31:08+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "left",
                            "name": "Left View",
                            "media": [
                                {
                                    "id": 40,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-left-lime.png",
                                    "size": 33003,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/d238d888cfc3448d9d9b06ef24456a68/view-image-left-lime.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=afe0ef7206a8c543f2af95115816f480177b214b31cebabe0d7953048a9b596f",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:09+00:00",
                                    "updated_at": "2022-04-28T14:31:09+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "right",
                            "name": "Right View",
                            "media": [
                                {
                                    "id": 41,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-right-lime.png",
                                    "size": 33411,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/fe2af0c54eaf4fc4b84d3b2e657d12b4/view-image-right-lime.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=2f96d13bdf052efd53ac8f39ea2c5369e84281887140ebfa180503a713919217",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:09+00:00",
                                    "updated_at": "2022-04-28T14:31:09+00:00"
                                }
                            ],
                            "customizations": []
                        }
                    ],
                    "failure_message": null,
                    "created_at": "2022-04-28T14:31:45+00:00",
                    "updated_at": "2022-04-28T14:31:45+00:00"
                },
                {
                    "id": 2,
                    "state": "completed",
                    "collection_name": "catalogue",
                    "total": 201.32,
                    "price": 169.18,
                    "tax": 32.14,
                    "tax_rate": 19,
                    "option_values": [
                        {
                            "handle": "S",
                            "name": "S",
                            "option_type": {
                                "handle": "size",
                                "name": "Size"
                            }
                        },
                        {
                            "handle": "cyan",
                            "name": "cyan",
                            "option_type": {
                                "handle": "color",
                                "name": "Color"
                            }
                        }
                    ],
                    "origin": {
                        "sku": "production-variant-2",
                        "external_identifier": "56879425362"
                    },
                    "product": 1,
                    "views": [
                        {
                            "handle": "front",
                            "name": "Front View",
                            "media": [
                                {
                                    "id": 42,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-front-cyan.png",
                                    "size": 54723,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/c0979fbf9dc54db1a4c6ae2a5162a743/view-image-front-cyan.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=970c56c3debf22c6af2e59cf90560a7034c7ebc948edec64f5e7a17f93a03725",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:09+00:00",
                                    "updated_at": "2022-04-28T14:31:09+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "back",
                            "name": "Rear View",
                            "media": [
                                {
                                    "id": 43,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-back-cyan.png",
                                    "size": 40319,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/c156101fa055404990dfb52ede9b576d/view-image-back-cyan.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=a30a06d501d13c2c544209056fdd64eb9bd60eeb87cf3403d019bc0cd2ae8311",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:10+00:00",
                                    "updated_at": "2022-04-28T14:31:10+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "left",
                            "name": "Left View",
                            "media": [
                                {
                                    "id": 44,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-left-cyan.png",
                                    "size": 33012,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/5a12c902143240c892701825ca152027/view-image-left-cyan.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=ae8e531a85a9a0250c23588d3c246a6012051417e8d90ee20668909b7761e587",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:10+00:00",
                                    "updated_at": "2022-04-28T14:31:10+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "right",
                            "name": "Right View",
                            "media": [
                                {
                                    "id": 45,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-right-cyan.png",
                                    "size": 33623,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/ef8d0d40eaa841bba7fe51c95e260a30/view-image-right-cyan.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=40a4748b4f9f38b902c9bcc13744934712916b917cbaa792e6c8b85d6880b2aa",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:10+00:00",
                                    "updated_at": "2022-04-28T14:31:10+00:00"
                                }
                            ],
                            "customizations": []
                        }
                    ],
                    "failure_message": null,
                    "created_at": "2022-04-28T14:31:45+00:00",
                    "updated_at": "2022-04-28T14:31:45+00:00"
                },
                {
                    "id": 3,
                    "state": "completed",
                    "collection_name": "catalogue",
                    "total": 193.89,
                    "price": 162.93,
                    "tax": 30.96,
                    "tax_rate": 19,
                    "option_values": [
                        {
                            "handle": "S",
                            "name": "S",
                            "option_type": {
                                "handle": "size",
                                "name": "Size"
                            }
                        },
                        {
                            "handle": "purple",
                            "name": "purple",
                            "option_type": {
                                "handle": "color",
                                "name": "Color"
                            }
                        }
                    ],
                    "origin": {
                        "sku": "production-variant-3",
                        "external_identifier": "56879425363"
                    },
                    "product": 1,
                    "views": [
                        {
                            "handle": "front",
                            "name": "Front View",
                            "media": [
                                {
                                    "id": 46,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-front-purple.png",
                                    "size": 54946,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/e7a5042b6e7748579cc3bd405cc3dd80/view-image-front-purple.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=0025d413f289226db0e5b45cc6b5ef26c3a2b6a56659c58c2b4e356e131891d8",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:10+00:00",
                                    "updated_at": "2022-04-28T14:31:10+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "back",
                            "name": "Rear View",
                            "media": [
                                {
                                    "id": 47,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-back-purple.png",
                                    "size": 40298,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/21d30e4f92444e5a919e76e63c48ef2d/view-image-back-purple.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=70a29a3fe966ce2ddfdfe9059a092baa178fa595babba663f60bf058fa5cd615",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:11+00:00",
                                    "updated_at": "2022-04-28T14:31:11+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "left",
                            "name": "Left View",
                            "media": [
                                {
                                    "id": 48,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-left-purple.png",
                                    "size": 33095,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/de7cb3e2aaa9433d8871ae91b608bc70/view-image-left-purple.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=ce1252aeb407b2ccc5d96c56d2dd48f5c5af17a4d6e7737c6548b2ea876862ac",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:11+00:00",
                                    "updated_at": "2022-04-28T14:31:11+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "right",
                            "name": "Right View",
                            "media": [
                                {
                                    "id": 49,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-right-purple.png",
                                    "size": 33638,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/6bc4938844874946b0bee879f1b16b36/view-image-right-purple.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=bc91745525df4823584734087a02af9e21f701649a2ff8039fff63cc405a364c",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:11+00:00",
                                    "updated_at": "2022-04-28T14:31:11+00:00"
                                }
                            ],
                            "customizations": []
                        }
                    ],
                    "failure_message": null,
                    "created_at": "2022-04-28T14:31:45+00:00",
                    "updated_at": "2022-04-28T14:31:45+00:00"
                }
            ]
        },
        {
            "id": 2,
            "is_test": false,
            "title": "T-Shirt 2 not designable",
            "description": "Repellat mollitia in ratione. Quidem quaerat sit harum voluptatem deserunt. Quasi est odio ex. Alias quibusdam debitis blanditiis velit quas debitis voluptatem.",
            "created_at": "2022-04-28T14:32:09+00:00",
            "updated_at": "2022-04-28T14:32:09+00:00",
            "variants": [
                {
                    "id": 37,
                    "state": "completed",
                    "collection_name": "catalogue",
                    "total": 92.34,
                    "price": 86.3,
                    "tax": 6.04,
                    "tax_rate": 7,
                    "option_values": [
                        {
                            "handle": "S",
                            "name": "S",
                            "option_type": {
                                "handle": "size",
                                "name": "Size"
                            }
                        },
                        {
                            "handle": "blue",
                            "name": "blue",
                            "option_type": {
                                "handle": "color",
                                "name": "Color"
                            }
                        }
                    ],
                    "origin": {
                        "sku": "production-variant-37",
                        "external_identifier": "56879425364"
                    },
                    "product": 2,
                    "views": [
                        {
                            "handle": "front",
                            "name": "Front View",
                            "media": [
                                {
                                    "id": 182,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-front-blue.png",
                                    "size": 53444,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/9b30e60a1e474b42b1860bc4ef53d8d3/view-image-front-blue.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=1bc9ca1604810de951bf571eb93223fcf1a6d7cecc75a32cee0febc76991ae53",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:46+00:00",
                                    "updated_at": "2022-04-28T14:31:46+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "back",
                            "name": "Rear View",
                            "media": [
                                {
                                    "id": 183,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-back-blue.png",
                                    "size": 39488,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/b4d913d54bb44148b9da0f3df9770d02/view-image-back-blue.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=8bb63e5d3c647263c7a7bb801c98ee7a8a39216fb346c3b85a8548aa7efacf01",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:46+00:00",
                                    "updated_at": "2022-04-28T14:31:46+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "left",
                            "name": "Left View",
                            "media": [
                                {
                                    "id": 184,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-left-blue.png",
                                    "size": 32366,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/48a38264cc8342ca9aa621336aa391d6/view-image-left-blue.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=b6178f7a920b99e56d81719e64efcfc1ec9e8e88cb878d3e149743d06aa3f836",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:46+00:00",
                                    "updated_at": "2022-04-28T14:31:46+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "right",
                            "name": "Right View",
                            "media": [
                                {
                                    "id": 185,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-right-blue.png",
                                    "size": 32940,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/d34caac9ebff41959688abc9253b9a5d/view-image-right-blue.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=9d093c32715b34da4112419bc12dad730f159e05198ad0bc97f3155818f726ad",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:46+00:00",
                                    "updated_at": "2022-04-28T14:31:46+00:00"
                                }
                            ],
                            "customizations": []
                        }
                    ],
                    "failure_message": null,
                    "created_at": "2022-04-28T14:32:09+00:00",
                    "updated_at": "2022-04-28T14:32:09+00:00"
                },
                {
                    "id": 38,
                    "state": "completed",
                    "collection_name": "catalogue",
                    "total": 54.75,
                    "price": 46.01,
                    "tax": 8.74,
                    "tax_rate": 19,
                    "option_values": [
                        {
                            "handle": "S",
                            "name": "S",
                            "option_type": {
                                "handle": "size",
                                "name": "Size"
                            }
                        },
                        {
                            "handle": "gray",
                            "name": "gray",
                            "option_type": {
                                "handle": "color",
                                "name": "Color"
                            }
                        }
                    ],
                    "origin": {
                        "sku": "production-variant-38",
                        "external_identifier": "56879425365"
                    },
                    "product": 2,
                    "views": [
                        {
                            "handle": "front",
                            "name": "Front View",
                            "media": [
                                {
                                    "id": 186,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-front-gray.png",
                                    "size": 53743,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/a3be5148447a48ccbc771faa81d084b9/view-image-front-gray.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=b2051ebcd8628d8ae9c5ef6dbf30405fe73bbb26a8ed9a36f5e662e61baa9fcc",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:46+00:00",
                                    "updated_at": "2022-04-28T14:31:46+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "back",
                            "name": "Rear View",
                            "media": [
                                {
                                    "id": 187,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-back-gray.png",
                                    "size": 38921,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/07c6f3c05ede442481a4011ec5e28542/view-image-back-gray.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=c353096568b7b5a21861f3b1150270339450c8bb4c256a5d413be6daa334481b",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:47+00:00",
                                    "updated_at": "2022-04-28T14:31:47+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "left",
                            "name": "Left View",
                            "media": [
                                {
                                    "id": 188,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-left-gray.png",
                                    "size": 31992,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/9bd0316c72e141a181cdd24985261c48/view-image-left-gray.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=a59fcd62e9717862c5ae268b0f3c1955c0b4dd8e0ea2fb806586abd580ce0f17",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:47+00:00",
                                    "updated_at": "2022-04-28T14:31:47+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "right",
                            "name": "Right View",
                            "media": [
                                {
                                    "id": 189,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-right-gray.png",
                                    "size": 32594,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/343fe8f919b24f62881413dffacfa36c/view-image-right-gray.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=f5d6f143b7d523b37a72e04b177a38999088e67f8c157dd2f3982921cf9fd259",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:47+00:00",
                                    "updated_at": "2022-04-28T14:31:47+00:00"
                                }
                            ],
                            "customizations": []
                        }
                    ],
                    "failure_message": null,
                    "created_at": "2022-04-28T14:32:09+00:00",
                    "updated_at": "2022-04-28T14:32:09+00:00"
                },
                {
                    "id": 39,
                    "state": "completed",
                    "collection_name": "catalogue",
                    "total": 33.17,
                    "price": 27.87,
                    "tax": 5.3,
                    "tax_rate": 19,
                    "option_values": [
                        {
                            "handle": "S",
                            "name": "S",
                            "option_type": {
                                "handle": "size",
                                "name": "Size"
                            }
                        },
                        {
                            "handle": "black",
                            "name": "black",
                            "option_type": {
                                "handle": "color",
                                "name": "Color"
                            }
                        }
                    ],
                    "origin": {
                        "sku": "production-variant-39",
                        "external_identifier": "56879425366"
                    },
                    "product": 2,
                    "views": [
                        {
                            "handle": "front",
                            "name": "Front View",
                            "media": [
                                {
                                    "id": 190,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-front-black.png",
                                    "size": 39050,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/b75fe5c2c6b842a995408ec3b3182b87/view-image-front-black.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=edc2f01a3d96c2e13e004827b44a3e63c3729d1589d31a9d90684cde460e85b3",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:47+00:00",
                                    "updated_at": "2022-04-28T14:31:47+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "back",
                            "name": "Rear View",
                            "media": [
                                {
                                    "id": 191,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-back-black.png",
                                    "size": 30350,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/7705029e48834e2ca87b4300c0a6b000/view-image-back-black.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=32a360881b6a8353e889d018e3e47db03f0c22fe6da399295f76cdccf8613e10",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:47+00:00",
                                    "updated_at": "2022-04-28T14:31:47+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "left",
                            "name": "Left View",
                            "media": [
                                {
                                    "id": 192,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-left-black.png",
                                    "size": 24421,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/aa902c7b87624983886ab696a9a3baef/view-image-left-black.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=48df9fec984c413a23d1524ab5890fa002ee30d689b92c27fc4d08c0123c58a2",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:47+00:00",
                                    "updated_at": "2022-04-28T14:31:47+00:00"
                                }
                            ],
                            "customizations": []
                        },
                        {
                            "handle": "right",
                            "name": "Right View",
                            "media": [
                                {
                                    "id": 193,
                                    "is_test": 0,
                                    "collection_name": "view-image",
                                    "file_name": "view-image-right-black.png",
                                    "size": 24893,
                                    "mime_type": "image/png",
                                    "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/f32e06be418342e88617d76f010d30ec/view-image-right-black.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=8055885e4462e055ee5e03c030160e1a4d71bd69180b42101aa984a81cf21952",
                                    "state": "pending",
                                    "requested": null,
                                    "failure_message": null,
                                    "created_at": "2022-04-28T14:31:47+00:00",
                                    "updated_at": "2022-04-28T14:31:47+00:00"
                                }
                            ],
                            "customizations": []
                        }
                    ],
                    "failure_message": null,
                    "created_at": "2022-04-28T14:32:10+00:00",
                    "updated_at": "2022-04-28T14:32:10+00:00"
                }
            ]
        },
        ...
    ],
    "links": {
        "first": "https://api.smake.io/v2/apps/1/products?expand=variants.views.customizations.resource&page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "https://api.smake.io/v2/apps/1/products",
        "per_page": 25,
        "to": 12
    }
}

Get

Returns the product with the id = x.

Expanding relationships

You can expand some resources to show more details.

See: Expanding Objects

Expand variant

You can show the variant data instead of the id.

  • /products/1?expand=variants
Expand variants customizations resource

You can show entire variant data including customizations resources`.

  • /products/1?expand=variants.views.customizations.resource

Example get a product

Request

GET /products/1 HTTP/1.1

Response

{
    "is_test": false,
    "id": 1,
    "title": "qui ut nemo",
    "description": "Autem nesciunt ipsam excepturi non distinctio quas ullam placeat. Quam quidem rerum veniam corrupti velit aperiam non. Repudiandae rem incidunt atque optio vero et voluptatem. Fuga et quos in ipsa.",
    "created_at": "2017-11-15T08:07:48+00:00",
    "updated_at": "2017-11-15T08:07:48+00:00",
    "variants": [
        1,
        2,
        3
    ]
}

Example expanding relationships

Request

GET /products/1?expand=variants.views.customizations.resource HTTP/1.1

Response

{
    "id": 1,
    "is_test": false,
    "title": "T-Shirt 1 not designable",
    "description": "Qui excepturi voluptas et esse in quis dolores. At molestiae ipsam provident earum aut omnis inventore non. Ea repellat distinctio laboriosam et mollitia qui.",
    "created_at": "2022-04-28T14:31:45+00:00",
    "updated_at": "2022-04-28T14:31:45+00:00",
    "variants": [
        {
            "id": 1,
            "state": "completed",
            "collection_name": "catalogue",
            "total": 20.49,
            "price": 19.15,
            "tax": 1.34,
            "tax_rate": 7,
            "option_values": [
                {
                    "handle": "S",
                    "name": "S",
                    "option_type": {
                        "handle": "size",
                        "name": "Size"
                    }
                },
                {
                    "handle": "lime",
                    "name": "lime",
                    "option_type": {
                        "handle": "color",
                        "name": "Color"
                    }
                }
            ],
            "origin": {
                "sku": "production-variant-1",
                "external_identifier": "56879425367"
            },
            "product": 1,
            "views": [
                {
                    "handle": "front",
                    "name": "Front View",
                    "media": [
                        {
                            "id": 38,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-front-lime.png",
                            "size": 54738,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/19258c4eeefe4ce98ea37ed670501ba6/view-image-front-lime.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=0e8531c7e8f61c0cb41ca50debac66828c1a171c0f7ae423c5b793981114e451",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:08+00:00",
                            "updated_at": "2022-04-28T14:31:08+00:00"
                        }
                    ],
                    "customizations": []
                },
                {
                    "handle": "back",
                    "name": "Rear View",
                    "media": [
                        {
                            "id": 39,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-back-lime.png",
                            "size": 40214,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/6214cdeb5f51499bba015c32e0d29917/view-image-back-lime.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=274d715510661eca5809619f698c07d74922a383dbed301eb8fd5e2b44235219",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:08+00:00",
                            "updated_at": "2022-04-28T14:31:08+00:00"
                        }
                    ],
                    "customizations": []
                },
                {
                    "handle": "left",
                    "name": "Left View",
                    "media": [
                        {
                            "id": 40,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-left-lime.png",
                            "size": 33003,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/d238d888cfc3448d9d9b06ef24456a68/view-image-left-lime.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=afe0ef7206a8c543f2af95115816f480177b214b31cebabe0d7953048a9b596f",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:09+00:00",
                            "updated_at": "2022-04-28T14:31:09+00:00"
                        }
                    ],
                    "customizations": []
                },
                {
                    "handle": "right",
                    "name": "Right View",
                    "media": [
                        {
                            "id": 41,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-right-lime.png",
                            "size": 33411,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/fe2af0c54eaf4fc4b84d3b2e657d12b4/view-image-right-lime.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=2f96d13bdf052efd53ac8f39ea2c5369e84281887140ebfa180503a713919217",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:09+00:00",
                            "updated_at": "2022-04-28T14:31:09+00:00"
                        }
                    ],
                    "customizations": []
                }
            ],
            "failure_message": null,
            "created_at": "2022-04-28T14:31:45+00:00",
            "updated_at": "2022-04-28T14:31:45+00:00"
        },
        {
            "id": 2,
            "state": "completed",
            "collection_name": "catalogue",
            "total": 201.32,
            "price": 169.18,
            "tax": 32.14,
            "tax_rate": 19,
            "option_values": [
                {
                    "handle": "S",
                    "name": "S",
                    "option_type": {
                        "handle": "size",
                        "name": "Size"
                    }
                },
                {
                    "handle": "cyan",
                    "name": "cyan",
                    "option_type": {
                        "handle": "color",
                        "name": "Color"
                    }
                }
            ],
            "origin": {
                "sku": "production-variant-2",
                "external_identifier": "56879425368"
            },
            "product": 1,
            "views": [
                {
                    "handle": "front",
                    "name": "Front View",
                    "media": [
                        {
                            "id": 42,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-front-cyan.png",
                            "size": 54723,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/c0979fbf9dc54db1a4c6ae2a5162a743/view-image-front-cyan.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=970c56c3debf22c6af2e59cf90560a7034c7ebc948edec64f5e7a17f93a03725",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:09+00:00",
                            "updated_at": "2022-04-28T14:31:09+00:00"
                        }
                    ],
                    "customizations": []
                },
                {
                    "handle": "back",
                    "name": "Rear View",
                    "media": [
                        {
                            "id": 43,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-back-cyan.png",
                            "size": 40319,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/c156101fa055404990dfb52ede9b576d/view-image-back-cyan.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=a30a06d501d13c2c544209056fdd64eb9bd60eeb87cf3403d019bc0cd2ae8311",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:10+00:00",
                            "updated_at": "2022-04-28T14:31:10+00:00"
                        }
                    ],
                    "customizations": []
                },
                {
                    "handle": "left",
                    "name": "Left View",
                    "media": [
                        {
                            "id": 44,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-left-cyan.png",
                            "size": 33012,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/5a12c902143240c892701825ca152027/view-image-left-cyan.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=ae8e531a85a9a0250c23588d3c246a6012051417e8d90ee20668909b7761e587",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:10+00:00",
                            "updated_at": "2022-04-28T14:31:10+00:00"
                        }
                    ],
                    "customizations": []
                },
                {
                    "handle": "right",
                    "name": "Right View",
                    "media": [
                        {
                            "id": 45,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-right-cyan.png",
                            "size": 33623,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/ef8d0d40eaa841bba7fe51c95e260a30/view-image-right-cyan.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=40a4748b4f9f38b902c9bcc13744934712916b917cbaa792e6c8b85d6880b2aa",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:10+00:00",
                            "updated_at": "2022-04-28T14:31:10+00:00"
                        }
                    ],
                    "customizations": []
                }
            ],
            "failure_message": null,
            "created_at": "2022-04-28T14:31:45+00:00",
            "updated_at": "2022-04-28T14:31:45+00:00"
        },
        {
            "id": 3,
            "state": "completed",
            "collection_name": "catalogue",
            "total": 193.89,
            "price": 162.93,
            "tax": 30.96,
            "tax_rate": 19,
            "option_values": [
                {
                    "handle": "S",
                    "name": "S",
                    "option_type": {
                        "handle": "size",
                        "name": "Size"
                    }
                },
                {
                    "handle": "purple",
                    "name": "purple",
                    "option_type": {
                        "handle": "color",
                        "name": "Color"
                    }
                }
            ],
            "origin": {
                "sku": "production-variant-3",
                "external_identifier": "56879425369"
            },
            "product": 1,
            "views": [
                {
                    "handle": "front",
                    "name": "Front View",
                    "media": [
                        {
                            "id": 46,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-front-purple.png",
                            "size": 54946,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/e7a5042b6e7748579cc3bd405cc3dd80/view-image-front-purple.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=0025d413f289226db0e5b45cc6b5ef26c3a2b6a56659c58c2b4e356e131891d8",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:10+00:00",
                            "updated_at": "2022-04-28T14:31:10+00:00"
                        }
                    ],
                    "customizations": []
                },
                {
                    "handle": "back",
                    "name": "Rear View",
                    "media": [
                        {
                            "id": 47,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-back-purple.png",
                            "size": 40298,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/21d30e4f92444e5a919e76e63c48ef2d/view-image-back-purple.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=70a29a3fe966ce2ddfdfe9059a092baa178fa595babba663f60bf058fa5cd615",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:11+00:00",
                            "updated_at": "2022-04-28T14:31:11+00:00"
                        }
                    ],
                    "customizations": []
                },
                {
                    "handle": "left",
                    "name": "Left View",
                    "media": [
                        {
                            "id": 48,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-left-purple.png",
                            "size": 33095,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/de7cb3e2aaa9433d8871ae91b608bc70/view-image-left-purple.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=ce1252aeb407b2ccc5d96c56d2dd48f5c5af17a4d6e7737c6548b2ea876862ac",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:11+00:00",
                            "updated_at": "2022-04-28T14:31:11+00:00"
                        }
                    ],
                    "customizations": []
                },
                {
                    "handle": "right",
                    "name": "Right View",
                    "media": [
                        {
                            "id": 49,
                            "is_test": 0,
                            "collection_name": "view-image",
                            "file_name": "view-image-right-purple.png",
                            "size": 33638,
                            "mime_type": "image/png",
                            "download_url": "https://smake-public.s3.eu-west-1.amazonaws.com/files/6bc4938844874946b0bee879f1b16b36/view-image-right-purple.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATV6IRLEXI2SRHX47%2F20220429%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220429T095126Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=bc91745525df4823584734087a02af9e21f701649a2ff8039fff63cc405a364c",
                            "state": "pending",
                            "requested": null,
                            "failure_message": null,
                            "created_at": "2022-04-28T14:31:11+00:00",
                            "updated_at": "2022-04-28T14:31:11+00:00"
                        }
                    ],
                    "customizations": []
                }
            ],
            "failure_message": null,
            "created_at": "2022-04-28T14:31:45+00:00",
            "updated_at": "2022-04-28T14:31:45+00:00"
        }
    ]
}