Products
Introduction
Through the endpoints included in the Products section, you will be able to:
Retrieve a list of all the products
Retrieve details about a specific product
Endpoints
This API endpoint retrieves a list of all products
Authorizations
Responses
200
OK
application/json
401
Unauthorized
get
GET /api/v1/products HTTP/1.1
Host: api.merchone.com
Authorization: Basic username:password
Accept: */*
{
"data": [
{
"id": 1,
"title": "Canvas",
"description": "A versatile design classic updated with HP latex inks...",
"tags": [
"canvas"
],
"product_sku": [
"CVS0200201LWF2-APO12345678"
],
"published": false,
"previews": [
"https://example.com/images/image.png"
]
}
]
}
This API endpoint retrieves information about the product
Authorizations
Responses
200
OK
application/json
401
Unauthorized
get
GET /api/v1/products/{product} HTTP/1.1
Host: api.merchone.com
Authorization: Basic username:password
Accept: */*
{
"data": {
"id": 1,
"sku": "CVS0200201LWF2-APO12345678",
"name": "20x20 cm",
"options": {
"Canvas border": "White",
"Stretcher frame": "2 cm"
},
"markup": "100%",
"cost": "7.00 €",
"price": "14.00 €",
"published": false,
"previews": [
"https://example.com/images/image.png"
]
}
}
Last updated