Menu Close

Get Support From ShopWired Close

All systems fully operational

Subscribe To Updates
Prefer To Live Chat? Chat directly with ShopWired support Quickest response time
Send A Message
Response within 24 hours

Menu Close

You are viewing legacy help guides for the old ShopWired interface. Visit the new help centre at https://help.shopwired.io for the latest help information.
Menu

API Example

Category Properties
id { "id" : 989034056 }
The unique ShopWired ID for the product
title { "title" : This is the product name }
The name/title entered for the product.
description { "description" : This product is available }
The description for the product.
GET /v1/categories/ID

Retrieves a single category.

embed parents
fields Comma separated list of properties to include
GET /v1/categories/1?embed=parents
HTTP/1.1 200 OK
{
    "id": 1,
    "title": "...",
    "description": "...",
    "url": "http://www.domain.com/slug",
    "active": true,
    "metaTitle": "...",
    "metaKeywords": "...",
    "metaDescription": "...",
    "image": {
        "url": "https://static.ecommercedns.uk/images/456e70cea611e36883b4dd3e02bb3a70.jpg?1"
    },
    "parents": [
        {
            "id": 2,
            "title": "...",
            "description": "...",
            "url": "http://www.domain.com/slug",
            "active": true,
            "metaTitle": "...",
            "metaKeywords": "...",
            "metaDescription": "..."
        }
    ]
}