Breadcrumbs

Bluestone PIM Connector v1.0 Initial Release

Version 1

Connector Overview: This page documents all 21 endpoints for the Bluestoneconnector v1.


GET

Attributes: Get Attributes

Describe the attributes available in the system.

id- attribute id.

itemsOnPage- items to be displayed on page.

pageNo- page number to display.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

N/A

Itemsonpage

N/A

Pageno

N/A

Context

N/A

Accept

N/A

Response Type

N/A


GET

Categories: Get Ancestors

Describe categories associated with given category.

deep- deepness of sub categories to be retrieved. default 10.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Itemsonpage

N/A

Pageno

N/A

Categoryid

(Required)

Context

N/A

Accept

N/A

Response Type

N/A


GET

Categories: Get Categories

Describe the root categories available in the system.

name- category contains a name

itemsOnPage- items to be displayed on page.

pageNo- page number to display.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Name

N/A

Itemsonpage

N/A

Pageno

N/A

Context

N/A

Accept

N/A

Response Type

N/A


GET

Categories: Get Category By Id

Describe categories associated with given category.

deep- deepness of sub categories to be retrieved. default 10.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Deep

N/A

Categoryid

(Required)

Context

N/A

Accept

N/A

Response Type

N/A


GET

Categories: Scan

Get paginated flat list of categories: given category and its descendants.
CategoryId is optional, if not provided all catalogs are listed.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Categoryid

N/A

Itemsonpage

N/A

Pageno

N/A

Context

N/A

Accept

N/A

Response Type

N/A


GET

Contexts: lists currently available publications

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Accept

N/A

Response Type

N/A


GET

Differences: Get Attribute Differences

Return a set of differences done during last sync operation.

diffType- filter returned values on difference type.

itemsOnPage- items to be displayed on page.

pageNo- page number to display.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Difftype

N/A

Itemsonpage

N/A

Pageno

N/A

Context

N/A

Accept

N/A

Response Type

N/A


GET

Differences: Get Attribute Differences On Sync Deletes

Return a set of changed attributes with given sync

id- sync id for which differences should be retrieved.

diffType- filter returned values on difference type.

itemsOnPage- amount of items to be retrieved.

pageNo- page number.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Difftype

N/A

Itemsonpage

N/A

Pageno

N/A

Id

(Required)

Accept

N/A

Response Type

N/A


GET

Differences: Get Category Differences

Return a set of changed categories during last publish

diffType- filter returned values on difference type.

itemsOnPage- amount of items to be retrieved.

pageNo- page number.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Difftype

N/A

Itemsonpage

N/A

Pageno

N/A

Context

N/A

Accept

N/A

Response Type

N/A


GET

Differences: Get Category Differences On Sync Deletes

Return a set of differences done with a given sync.

id- sync id for which differences should be retrieved.

itemsOnPage- items to be displayed on page.

pageNo- page number to display.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Difftype

N/A

Itemsonpage

N/A

Pageno

N/A

Id

(Required)

Accept

N/A

Response Type

N/A


GET

Differences: Get Product Differences

Return a set of differences done during last sync operation.

diffType- filter returned values on difference type.

itemsOnPage- items to be displayed on page.

pageNo- page number to display.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Difftype

N/A

Itemsonpage

N/A

Pageno

N/A

Context

N/A

Accept

N/A

Response Type

N/A


GET

Differences: Get Product Differences On Sync Deletes

Return a set of changed products with given sync

id- sync id for which differences should be retrieved.

diffType- filter returned values on difference type.

itemsOnPage- amount of items to be retrieved.

pageNo- page number.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Difftype

N/A

Itemsonpage

N/A

Pageno

N/A

Id

(Required)

Accept

N/A

Response Type

N/A


GET

Differences: Get Relation Differences

Return a set of differences done during last sync operation.

diffType- filter returned values on difference type.

itemsOnPage- items to be displayed on page.

pageNo- page number to display.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Difftype

N/A

Itemsonpage

N/A

Pageno

N/A

Context

N/A

Accept

N/A

Response Type

N/A


GET

Differences: Get Relation Differences On Sync Deletes

Return a set of changed relations with given sync

id- sync id for which differences should be retrieved.

diffType- filter returned values on difference type.

itemsOnPage- amount of items to be retrieved.

pageNo- page number.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Difftype

N/A

Itemsonpage

N/A

Pageno

N/A

Id

(Required)

Accept

N/A

Response Type

N/A


GET

Health: Get Health

A Health check for PAPI service.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A


POST

Products: Find Products

Find products in PAPI

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Sort

Sort by name, number. Examples: sort ascending by number 'number', sort descending by name 'name:desc'

Itemsonpage

N/A

Pageno

N/A

Context

N/A

Accept

N/A

Response Type

N/A

Options (9)

Option Name

Description

Ids

N/A

Names

N/A

Numbers

N/A

Labels

N/A

Categories

N/A

Attributes

N/A

Relations

N/A

Producttypes

N/A

Bundles

N/A


GET

Products: Get Product

Get the product with given id

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

(Required)

Context

N/A

Accept

N/A

Response Type

N/A


GET

Products: Get Products

Get a list of products for given category.

subCategories- default false. Set to true provides products for all sub categories.

withLabels- format "label1;label2" a set of labels products should contain.

name- part of the name contained by the product

itemsOnPage- items to be displayed on page.

pageNo- page number to display.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Subcategories

N/A

Labels

N/A

Name

N/A

Number

N/A

Itemsonpage

N/A

Pageno

N/A

Categoryid

(Required)

Context

N/A

Accept

N/A

Response Type

N/A


GET

Relations: Get Relations

Describe the relations available in the system.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Context

N/A

Accept

N/A

Response Type

N/A


GET

Syncs: Retrieves a collection of publish info for given tenant.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Context

N/A

Sort

Sort by createdAt. Examples: sort descending by createdAt 'createdAt:desc'

Publishstates

Filter by publish states passed as comma-separated, capital lettered strings with no whitespaces, ie: 'CLOSED,PUBLISH', or 'CLOSED'

Createdafter

Filter by "createdAt" field

Itemsonpage

N/A

Pageno

N/A

Accept

N/A

Response Type

N/A


GET

Syncs: Retrieves the information about given PublishInfo environment.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

(Required) publish id.

Accept

N/A

Response Type

N/A