Skip to main content

Import Categories [POST]

Overview

Allows you to upload all categories for use with retailing for RCM (max 500MB)

Parameters

ParameterTypeDescription
titlestringPage title this normally matches with your product category pages.
clientCategoryIdstringThis is your unique internal identifier for the page.
urlstringThis is the URL for the page i.e. /dresses.aspx
parentClientCategoryIdstringThe parent identifier for the page, allows for children pages.
sitestringThis is the site name used to describe your regional version of the website.

Example Value

200 response
[
{
"title": "string",
"clientCategoryId": "string",
"url": "string",
"parentClientCategoryId": "string",
"site": "string"
}
]

Response

Description: Import Accepted

200 response
{
"success": true,
"errors": [
"string"
],
"importTaskId": 0
}

Import Product List [GET]

Overview

Allows you to view the import results for the product upload.

Parameters

ParameterTypeDescription
Tokenstring (query)Token assigned to your account.
ImportTaskIdinteger($int32) (query)Import Task ID supplied from the import request.

Response

200 response
{
"importTaskId": 0,
"createdDate": "2019-06-05T09:19:31.853Z",
"completedDate": "2019-06-05T09:19:31.853Z",
"recordsUpdated": 0,
"itemResults": [
{
"clientProductId": "string",
"errors": [
"string"
],
"valid": true
}
],
"responseTime": "string",
"token": "string",
"errors": [
"string"
]
}

Import Page Result [GET]

Overview

Allows you to view the import results for the page upload.

Parameters

ParameterTypeDescription
Tokenstring (query)Token assigned to your account.
ImportTaskIdinteger($int32) (query)Import Task ID supplied from the import request.

Response

200 response
 {
"importTaskId": 0,
"createdDate": "2019-06-05T10:07:55.218Z",
"completedDate": "2019-06-05T10:07:55.218Z",
"recordsUpdated": 0,
"itemResults": [
{
"clientPageId": "string",
"errors": [
"string"
],
"valid": true
}
],
"responseTime": "string",
"token": "string",
"errors": [
"string"
]
}

Import Category Result [GET]

Overview

Allows you to view the import results for the categories upload.

Parameters

ParameterTypeDescription
Tokenstring (query)Token assigned to your account.
ImportTaskIdinteger($int32) (query)Import Task ID supplied from the import request.

Response

200 response
{
"importTaskId": 0,
"createdDate": "2019-06-05T10:08:36.560Z",
"completedDate": "2019-06-05T10:08:36.560Z",
"recordsUpdated": 0,
"itemResults": [
{
"clientCategoryId": "string",
"errors": [
"string"
],
"valid": true
}
],
"responseTime": "string",
"token": "string",
"errors": [
"string"
]
}

Import Stock Result [GET]

Overview

Allows you to view the import results for the stock upload.

Parameters

ParameterTypeDescription
Tokenstring (query)Token assigned to your account.
ImportTaskIdinteger($int32) (query)Import Task ID supplied from the import request.

Response

200 response
{
"importTaskId": 0,
"createdDate": "2019-06-05T10:47:24.839Z",
"completedDate": "2019-06-05T10:47:24.839Z",
"recordsUpdated": 0,
"responseTime": "string",
"token": "string",
"errors": [
"string"
],
"itemResults": [
{
"clientProductId": "string",
"stockCode": "string",
"errors": [
"string"
],
"valid": true
}
]
}

Import Pages [POST]

Overview

Allows you to upload all pages for use with retailing for RCM (max 500MB)

Parameters

ParameterTypeDescription
titlestringPage title this normally matches with your product category pages.
lientPageIdstringThis is your unique internal identifier for the page.
urlstringThis is the URL for the page i.e. /dresses.aspx
parentClientPageIdstringThe parent identifier for the page, allows for children pages.
sitestringThis is the site name used to describe your regional version of the website, as supplied in the feeds to RCM.

Example Value

200 response
[
{
"title": "string",
"clientPageId": "string",
"url": "string",
"parentClientPageId": "string",
"site": "string"
}
]

Response

Description:
Import Accepted

200 response
{
"success": true,
"errors": [
"string"
],
"importTaskId": 0
}

Import Products [POST]

Overview

Allows you to upload a JSON file for all your product data per site (max 500MB)

Parameters

ParameterTypeDescription
siteNamestringThis is the site name used to describe your regional version of the website.
productCodestringProduct Code used to identify your product, this doesn’t need to be unique.
clientProductIdstringUnique ID for the product, this is normally the primary key used from your own systems. This will be returned back to you in merch API calls.
groupProductCodestringGroup product code is a ID field used to group items together which fit in the same style, for example could be used to group together all the same dresses.
titlestringThis is the customer facing Title for the product.
descriptionstringThis is the customer facing Description for the product.
metaTitlestringThis is the HTML Meta Title for the page.
metaDescriptionstringThis is the HTML Meta Description for the page.
urlstringThis is the URL for the product page.
pagesstringThese are the active pages this product is assigned to, please ensure you have supplied the pages first using the import pages API.
categoriesstringThese are the categories this product is assigned to, please ensure you have supplied the categories first using the import categories API.
productAttributesinfoThese are the attributes this product is assigned to. Only Brand is currently supported.
productAttributesstringattributeName
productAttributesstringattributeValue
facetsinfoThese are the product facets such as Red, Blue, Silk etc. assigned to a product for filtering.
facetsstringfacetName
facetsstringfacetValue
imagesinfoThese are the product images.
imagesstringimageUrl
imagesstringcolour
pricesinfoThese are the product prices, you can supply multiple prices per product for different currencies.
pricesstringcurrency
pricesnumber($double)itemPrice
pricesnumber($double)rrp
pricesnumber($double)salePrice
pricesnumber($double)costPrice
dateAvailableFromstring($date-time)Show product after this date.
dateAvailableTostring($date-time)Do not show product after this date.

Example Value

200 response
[
{
"siteName": "string",
"productCode": "string",
"clientProductId": "string",
"groupProductCode": "string",
"title": "string",
"description": "string",
"metaTitle": "string",
"metaDescription": "string",
"url": "string",
"pages": [
"string"
],
"categories": [
"string"
],
"productAttributes": [
{
"attributeName": "string",
"attributeValue": "string"
}
],
"facets": [
{
"facetName": "string",
"facetValue": "string"
}
],
"images": [
{
"imageUrl": "string",
"colour": "string"
}
],
"prices": [
{
"currency": "string",
"itemPrice": 0,
"rrp": 0,
"salePrice": 0,
"costPrice": 0
}
],
"dateAvailableFrom": "2019-06-05T11:27:03.542Z",
"dateAvailableTo": "2019-06-05T11:27:03.542Z"
}
]

Response

Description:
Import Accepted

200 response
{
"success": true,
"errors": [
"string"
],
"importTaskId": 0
}

Import Stock [POST]

Overview

Allows you to upload a JSON file for all your product stock data (max 500MB)

Parameters

ParameterTypeDescription
clientProductIDstringUnique ID for the product, this is normally the primary key used from your own systems.
stockCodestringStock code for the item. This should be unique such as UPC code.
stockTitlestringTitle for the stock item such as Large, Small.
quantityinteger($int32)Current Qty available for stock item.
archivedbooleanSet to true once stock item is not available for sale.

Example Value

200 response
[
{
"clientProductID": "string",
"stockCode": "string",
"stockTitle": "string",
"quantity": 0,
"archived": true
}
]

Response

Description:
Import Accepted

200 response
{
"success": true,
"errors": [
"string"
],
"importTaskId": 0
}