The endpoint lists all available production methods that can be used for customizing.
See Design Variants, Create Logos and Design in Order
#List
Returns a collection of production methods.
#Filtering
You can filter your results as follows:
#List production methods for specified id(s)
-
/production-methods?filter[id]=1
-
/production-methods?filter[id]=1,2,3
#List production methods for a specified handle(s)
-
/production-methods?filter[handle]=dtg
-
/production-methods?filter[handle]=dtg,embroidery
See: Pagination, Filtering
#Example listing production methods
GET /production-methods HTTP/1.1
{
"data": [
{
"id": 1,
"collection_name": "dtg",
"handle": "dtg",
"name": "Digital print",
"description": "Digital print",
"is_digitizable": false,
"created_at": "2022-03-22T07:01:12+00:00",
"updated_at": "2022-03-22T07:01:12+00:00"
},
{
"id": 2,
"collection_name": "embroidery",
"handle": "embroidery",
"name": "Embroider",
"description": "Embroider",
"is_digitizable": true,
"created_at": "2022-03-22T07:01:12+00:00",
"updated_at": "2022-03-22T07:01:12+00:00"
},
{
"id": 3,
"collection_name": "additional-instruction",
"handle": "additional-instruction",
"name": "Additional instruction",
"description": "Additional instruction",
"is_digitizable": false,
"created_at": "2022-03-22T07:01:12+00:00",
"updated_at": "2022-03-22T07:01:12+00:00"
},
{
"id": 4,
"collection_name": "manual",
"handle": "manual",
"name": "Manual",
"description": "Manual",
"is_digitizable": false,
"created_at": "2022-03-22T07:01:12+00:00",
"updated_at": "2022-03-22T07:01:12+00:00"
}
],
"links": {
"first": "https://api.smake.io/v2/apps/1/production-methods?page=1",
"last": null,
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"path": "https://api.smake.io/v2/apps/1/production-methods",
"per_page": 25,
"to": 4
}
}