Product
Module endpoints
DELETE /products/:id
DELETE /products/:id
DELETE
http://api.slyk.io/products/:id
Deletes the product
with given id
.
204
No Content
DELETE /products/:productId/questions/:id
DELETE /products/:productId/questions/:id
DELETE
http://api.slyk.io/products/:productId/questions/:id
Deletes the product question
with given id
and productId
.
204
No Content
GET /products
GET /products
GET
https://api.slyk.io/products
Returns a paginated list of products
.
Name
Type
Example
available
=
filter[available]=true
categoryId
=
in
nin
filter[categoryId]=in:foo,bar
description
ilike
filter[description]=foo
featured
=
filter[featured]=false
id
=
in
nin
filter[id]=7938e446-1c77-4513-8cb0-8b1f2e9f47b9
name
ilike
filter[name]=foo
order
=
gte
lte
filter[order]=gte:0.5
requiresIdentity
=
filter[requiresIdentity]=true
typeCode
=
in
nin
filter[typeCode]=nin:bar
visible
=
filter[visible]=true
GET /products/:id
GET /products/:id
GET
https://api.slyk.io/products/:id
Gets the product details of the given id
.
PATCH /products/:id
PATCH /products/:id
PATCH
https://api.slyk.io/products/:id
Patches the product
details of the given id
.
Field
Type
Required
Description
allowChoosingQuantity
boolean
false
Product choosing quantity allow indicator.
assetCode
string
false
Asset code related to the product.
available
boolean
false
Product availability indicator.
bonus
string
false
Product bonus value.
buttonLabel
string
false
Product button label.
categoryId
string
false
Associated category identifier. Format: uuid
.
customData
object
false
Can store any additional information about the product.
description
string
false
Product description.
featured
boolean
false
Product featuring indicator.
image
string
false
Product image.
listLabel
string
false
Product list label.
name
string
false
Product name.
order
string
false
Product order value.
price
string
false
Product price value.
requiresIdentity
boolean
false
Identity required indicator.
taxRateId
string
false
Associated tax rate identifier. Format: uuid
.
thumbnail
string
false
Product thumbnail.
url
string
false
Product URL.
visible
boolean
false
Product visibility indicator.
POST /products
POST /products
POST
https://api.slyk.io/products
Creates a new product
.
Field
Type
Required
Description
allowChoosingQuantity
boolean
false
Product choosing quantity allow indicator.
assetCode
string
false
Asset code related to the product.
available
boolean
false
Product availability indicator.
bonus
string
false
Product bonus value.
buttonLabel
string
false
Product button label.
categoryId
string
true
Associated category identifier. Format: uuid
.
customData
object
false
Can store any additional information about the product.
description
string
false
Product description.
featured
boolean
false
Product featuring indicator.
image
string
false
Product image.
listLabel
string
false
Product list label.
name
string
false
Product name.
order
string
false
Product order value.
price
string
true
Product price value.
requiresIdentity
boolean
false
Identity required indicator.
taxRateId
string
false
Associated tax rate identifier. Format: uuid
.
thumbnail
string
false
Product thumbnail.
url
string
false
Product URL.
visible
boolean
false
Product visibility indicator.
POST /products/:id/questions
POST /products/:id/questions
POST
http://api.slyk.io/products/:id/questions
Creates a new product question
.
Field
Type
Required
Description
questionId
string
true
Associated question identifier. Format: uuid
.
POST /products/:id/reorder
POST /products/:id/reorder
POST
http://api.slyk.io/products/:id/reorder
Reorders the product
with the given id
.
Field
Type
Required
Description
subsequentId
string
false
Subsequent product identifier.
POST /products/:productId/questions/:id/reorder
POST /products/:productId/questions/:id/reorder
POST
http://api.slyk.io/products/:productId/questions/:id/reorder
Reorders the product question
with the given id
and productId
.
Field
Type
Required
Description
subsequentId
string
false
Subsequent product question identifier.
Last updated
Was this helpful?