Query (v1)

Download OpenAPI description
Languages
Servers

https://norcecommerce.api-se.norce.tech/commerce/query/3.0/

Schemas

Application

Operations

Gets all supplier-to-category mappings.

Request

Headers
ApplicationIdintegerrequired

Application ID

curl -i -X GET \
  https://norcecommerce.api-se.norce.tech/commerce/query/3.0/Application/SupplierCategoryMappings \
  -H 'ApplicationId: 0'

Responses

A queryable collection of supplier category mappings.

Bodyapplication/jsonArray [
categorySupplierIdinteger(int32)
codestring
categoryIdinteger or null(int32)
categoryNamestring or null
productCountinteger or null(int32)
isMappedboolean
clientIdinteger(int32)
supplierIdinteger(int32)
isActiveboolean
]
Response
application/json
[ { "categorySupplierId": 0, "code": "string", "categoryId": 0, "categoryName": "string", "productCount": 0, "isMapped": true, "clientId": 0, "supplierId": 0, "isActive": true } ]

Gets the category hierarchy (parent-child relationships).

Request

Headers
ApplicationIdintegerrequired

Application ID

curl -i -X GET \
  https://norcecommerce.api-se.norce.tech/commerce/query/3.0/Application/CategoryHierarchy \
  -H 'ApplicationId: 0'

Responses

A queryable collection of category hierarchy entries.

Bodyapplication/jsonArray [
categoryIdinteger(int32)

The category identifier.

clientIdinteger(int32)

The client identifier.

parentCategoryIdinteger(int32)

The parent category identifier.

hierarchyinteger(int32)

The hierarchy.

category(Category (object or null))
One of:
parentCategory(Category (object or null))
One of:
]
Response
application/json
[ { "categoryId": 0, "clientId": 0, "parentCategoryId": 0, "hierarchy": 0, "category": {}, "parentCategory": {} } ]

Gets all category structures.

Request

Headers
ApplicationIdintegerrequired

Application ID

curl -i -X GET \
  https://norcecommerce.api-se.norce.tech/commerce/query/3.0/Application/CategoryStructures \
  -H 'ApplicationId: 0'

Responses

A queryable collection of category structures.

Bodyapplication/jsonArray [
idinteger(int32)

The unique identifier of the category structure.

clientIdinteger(int32)

The client identifier.

defaultNamestring[ 0 .. 50 ] charactersrequired

The default name of the category structure.

defaultDescriptionstring or null[ 0 .. 500 ] characters

The default description of the category structure.

typeIdinteger(int32)

The type identifier.

applicationIdinteger or null(int32)

The application identifier.

isPrimaryboolean

Indicates whether the category structure is primary.

isActiveboolean

Indicates whether the category structure is active.

createdstring(date-time)

The date and time the record was created.

createdByinteger(int32)

The identifier of the user who created the record.

updatedstring or null(date-time)

The date and time the record was last updated.

updatedByinteger or null(int32)

The identifier of the user who last updated the record.

itemsArray of objects or null(CategoryStructureItem)
]
Response
application/json
[ { "id": 0, "clientId": 0, "defaultName": "string", "defaultDescription": "string", "typeId": 0, "applicationId": 0, "isPrimary": true, "isActive": true, "created": "2019-08-24T14:15:22Z", "createdBy": 0, "updated": "2019-08-24T14:15:22Z", "updatedBy": 0, "items": [] } ]

Core

Operations

Customers

Operations

Order

Operations

Products

Operations

Shopping

Operations

Metadata

Operations