merchOne Documentation
  • Overview
  • REST API
  • API reference
    • API Beta
      • Catalog
      • Orders
      • Shipping
    • API V1
      • Blueprints
      • Orders
      • Library
      • Products
      • Shipping rates
  • Webhooks
  • Print files
Powered by GitBook
On this page
  1. API reference
  2. API V1

Products

PreviousLibraryNextShipping rates

Last updated 17 days ago

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

Show products

get

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"
      ]
    }
  ]
}

Show product

get

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"
    ]
  }
}
  • Introduction
  • Endpoints
  • GETShow products
  • GETShow product