SmakeSmake API Docs
EndpointsProducts

List Products

GET
/products

The Products endpoint lets you list all products available.

Info: Variants Attribute is expandable. See: Expanding Objects

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 external identifier — /products?filter[variants.origin.external_identifier]=extern-123
  • List products for a specified origin manufacturer_number — /products?filter[origin.manufacturer_number]=X01234
  • List products for a specified design method — /products?filter[designable_production_methods]=direct-to-film

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
  • Expand product's allowed designable methods — You can show which methods design can be done on this product: /products?expand=designable_production_methods
AuthorizationBearer
AuthorizationBearer <token>

In: header

Query Parameters

filter[id]?string

List products for specified id(s). Several ids can be passed comma-separated: /products?filter[id]=1, /products?filter[id]=1,2,3.

filter[title]?string

List products for specified title (translated title, partial match): /products?filter[title]=qui.

filter[origin.manufacturer_number]?string

List products for a specified origin manufacturer_number (exact match): /products?filter[origin.manufacturer_number]=X01234.

filter[designable_production_methods]?string

List products for a specified design method, matched against the production method display name (partial, case-insensitive): /products?filter[designable_production_methods]=direct-to-film.

filter[variants.origin.sku]?string

List products for a specified origin code (variant SKU prefix): /products?filter[variants.origin.sku]=58975.

filter[variants.origin.external_identifier]?string

List products for a specified variant origin external identifier (prefix match): /products?filter[variants.origin.external_identifier]=extern-123.

expand?string

You can expand some resources to show more details — see Expanding Objects. Several relations can be expanded as a comma-separated list. Allowed values:

  • variants — Expand variant. You can show the variant data instead of the id.
  • variants.views.customizations.resource — Expand variants customizations resource. You can show entire variant data including customizations resources.
  • variants.views.customizations.production_method — Expand the production method of each customization.
  • designable_production_methods — Expand product's allowed designable methods. You can show which methods design can be done on this product.
page?integer

Page number to return — see Basic Usage → Pagination.

per_page?integer

Number of objects per page (default 25, maximum 100) — see Basic Usage → Pagination.

Header Parameters

X-Api-Version?string

Response Body

application/json

application/json

Request example
curl -X GET "https://example.com/products?filter%5Bid%5D=10&filter%5Btitle%5D=Shirt&filter%5Borigin.manufacturer_number%5D=100200&filter%5Bdesignable_production_methods%5D=DTG&filter%5Bvariants.origin.sku%5D=TSHIRT&filter%5Bvariants.origin.external_identifier%5D=sku-&expand=variants&page=1&per_page=25" \  -H "X-Api-Version: 2022-02-01"
{  "data": [    {      "id": 1,      "is_test": false,      "title": "T-Shirt 1 not designable",      "description": "Rem architecto facilis qui adipisci minima odio. Id aut nihil earum.",      "created_at": "2026-04-08T05:58:24+00:00",      "updated_at": "2026-04-08T05:58:24+00:00",      "designable_production_methods": [],      "variants": [        1,        2,        3,        4,        5,        6,        7,        8,        9,        10,        11,        12,        13,        14,        15,        16,        17,        18,        19,        20,        21,        22,        23,        24,        25,        26,        27,        28,        29,        30,        31,        32,        33,        34,        35,        36,        37,        38,        39,        40,        41,        42,        43,        44,        45,        46,        47,        48,        49,        50,        51,        52,        53,        54,        55,        56,        57,        58,        59,        60,        61,        62,        63,        64,        65,        66,        67,        68,        69,        70,        71,        72      ],      "designer": {        "designable_type": "app-product",        "designable_id": 1,        "designable_identifier": "1",        "type": "none",        "is_available": true,        "modes": {          "free": false,          "positioning": false,          "production": false        },        "only_customized_orderable": false      }    },    {      "id": 2,      "is_test": false,      "title": "T-Shirt 2 not designable",      "description": "Enim pariatur harum consectetur numquam aperiam tenetur. Nihil quo et ut et delectus nihil ex. Velit ut est necessitatibus iusto. Consequuntur delectus illum suscipit aut ut et ut provident.",      "created_at": "2026-04-08T05:58:28+00:00",      "updated_at": "2026-04-08T05:58:28+00:00",      "designable_production_methods": [],      "variants": [        73,        74,        75,        76,        77,        78,        79,        80,        81,        82,        83,        84,        85,        86,        87,        88,        89,        90,        91,        92,        93,        94,        95,        96,        97,        98,        99,        100,        101,        102,        103,        104,        105,        106,        107,        108,        109,        110,        111,        112,        113,        114,        115,        116,        117,        118,        119,        120,        121,        122,        123,        124,        125,        126,        127,        128,        129,        130,        131,        132,        133,        134,        135,        136,        137,        138,        139,        140,        141,        142,        143,        144      ],      "designer": {        "designable_type": "app-product",        "designable_id": 2,        "designable_identifier": "2",        "type": "none",        "is_available": true,        "modes": {          "free": false,          "positioning": false,          "production": false        },        "only_customized_orderable": false      }    },    {      "id": 3,      "is_test": false,      "title": "T-Shirt 3 not designable",      "description": "Soluta atque id blanditiis explicabo ea neque cum. Dolorum fugit nobis et aspernatur accusamus ex quis. Est beatae ea deserunt quia delectus sit aut eum.",      "created_at": "2026-04-08T05:58:34+00:00",      "updated_at": "2026-04-08T05:58:34+00:00",      "designable_production_methods": [],      "variants": [        145,        146,        147,        148,        149,        150,        151,        152,        153,        154,        155,        156,        157,        158,        159,        160,        161,        162,        163,        164,        165,        166,        167,        168,        169,        170,        171,        172,        173,        174,        175,        176,        177,        178,        179,        180,        181,        182,        183,        184,        185,        186,        187,        188,        189,        190,        191,        192,        193,        194,        195,        196,        197,        198,        199,        200,        201,        202,        203,        204,        205,        206,        207,        208,        209,        210,        211,        212,        213,        214,        215,        216      ],      "designer": {        "designable_type": "app-product",        "designable_id": 3,        "designable_identifier": "3",        "type": "none",        "is_available": true,        "modes": {          "free": false,          "positioning": false,          "production": false        },        "only_customized_orderable": false      }    }  ],  "links": {    "first": "https://api.smake.io/v2/apps/1/products?per_page=3&expand=&page=1",    "last": null,    "prev": null,    "next": "https://api.smake.io/v2/apps/1/products?per_page=3&expand=&page=2"  },  "meta": {    "current_page": 1,    "current_page_url": "https://api.smake.io/v2/apps/1/products?per_page=3&expand=&page=1",    "from": 1,    "path": "https://api.smake.io/v2/apps/1/products",    "per_page": 3,    "to": 3  }}