Commerce Query API (v3.0)

Download OpenAPI description
Languages
Servers
Playground

https://{slug}.api-se.playground.norce.tech/commerce/query/3.0/

Stage

https://{slug}.api-se.stage.norce.tech/commerce/query/3.0/

Production

https://{slug}.api-se.norce.tech/commerce/query/3.0/

Schemas

Application

Operations

List customer info types

Request

Gets all customer info types.

Headers
ApplicationIdintegerrequired

Application ID

curl -i -X GET \
  https://customer-slug.api-se.playground.norce.tech/commerce/query/3.0/Application/CustomerInfoTypes \
  -H 'ApplicationId: 0'

Responses

A queryable collection of customer info types. The custom fields configured by the client for customer, company and store (division) records.

Bodyapplication/jsonArray [
idinteger(int32)

The unique identifier of the customer info type.

clientIdinteger(int32)

The client identifier.

groupIdinteger(int32)

The group identifier, Customer Info (1), Division Info (4), Company Info (6), Supplier Info (7).

defaultNamestring[ 0 .. 50 ] charactersrequired

The default name of the customer info type.

defaultDescriptionstring or null[ 0 .. 500 ] characters

The default description of the customer info type.

sortOrderinteger(int32)

The sort order for display purposes.

isActiveboolean

Indicates whether the customer info type 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.

codestring or null[ 0 .. 50 ] characters

The code of the customer info type.

culturesArray of objects or null(CustomerInfoTypeCulture)
]
Response
application/json
[ { "id": 0, "clientId": 0, "groupId": 0, "defaultName": "string", "defaultDescription": "string", "sortOrder": 0, "isActive": true, "created": "2019-08-24T14:15:22Z", "createdBy": 0, "updated": "2019-08-24T14:15:22Z", "updatedBy": 0, "code": "string", "cultures": [ … ] } ]

List client customer flags

Request

Gets all client customer flags.

Headers
ApplicationIdintegerrequired

Application ID

curl -i -X GET \
  https://customer-slug.api-se.playground.norce.tech/commerce/query/3.0/Application/ClientCustomerFlags \
  -H 'ApplicationId: 0'

Responses

A queryable collection of client customer flags. Both customer and company enabled flags are included.

Bodyapplication/jsonArray [
idinteger(int32)

The unique identifier of the customer flag.

clientIdinteger(int32)

The client identifier.

groupIdinteger(int32)

The group identifier.

defaultNamestring[ 0 .. 50 ] charactersrequired

The default name of the customer flag.

defaultDescriptionstring or null[ 0 .. 500 ] characters

The default description of the customer flag.

availableOnCustomerboolean

Indicates whether available on customer is enabled (CustomerFlag).

availableOnCompanyboolean

Indicates whether available on company is enabled (CompanyFlag).

isActiveboolean

Indicates whether the customer flag 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.

isDefaultboolean

Indicates whether the customer flag is default, not used anymore.

externalReferencestring or null[ 0 .. 50 ] characters

The external reference, called 'Code' in other APIs and in the admin tool.

sortOrderinteger or null(int32)

The sort order for display purposes.

culturesArray of objects or null(CustomerFlagCulture)
group(CustomerFlagGroup (object or null))
One of:
]
Response
application/json
[ { "id": 0, "clientId": 0, "groupId": 0, "defaultName": "string", "defaultDescription": "string", "availableOnCustomer": true, "availableOnCompany": true, "isActive": true, "created": "2019-08-24T14:15:22Z", "createdBy": 0, "updated": "2019-08-24T14:15:22Z", "updatedBy": 0, "isDefault": true, "externalReference": "string", "sortOrder": 0, "cultures": [ … ], "group": { … } } ]

List shopping info types

Request

Gets all shopping info types.

Headers
ApplicationIdintegerrequired

Application ID

curl -i -X GET \
  https://customer-slug.api-se.playground.norce.tech/commerce/query/3.0/Application/ShoppingInfoTypes \
  -H 'ApplicationId: 0'

Responses

A queryable collection of shopping info types. The custom fields configured by the client for basket, and basketitem records.

Bodyapplication/jsonArray [
idinteger(int32)

The unique identifier of the shopping info type.

clientIdinteger(int32)

The client identifier.

groupIdinteger(int32)

The group identifier.

defaultNamestring[ 0 .. 50 ] charactersrequired

The default name of the shopping info type.

defaultDescriptionstring or null[ 0 .. 500 ] characters

The default description of the shopping info type.

dataTypestring[ 0 .. 50 ] charactersrequired

The data type. Contextual information for interpreting the value of the shopping info. For example, it could be 'string', 'decimal', 'date', etc.

defaultValuestring or null

The default value.

sortOrderinteger(int32)

The sort order for display purposes.

isActiveboolean

Indicates whether the shopping info type 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.

codestring or null[ 0 .. 50 ] characters

The code of the shopping info type.

culturesArray of objects or null(ShoppingInfoTypeCulture)
]
Response
application/json
[ { "id": 0, "clientId": 0, "groupId": 0, "defaultName": "string", "defaultDescription": "string", "dataType": "string", "defaultValue": "string", "sortOrder": 0, "isActive": true, "created": "2019-08-24T14:15:22Z", "createdBy": 0, "updated": "2019-08-24T14:15:22Z", "updatedBy": 0, "code": "string", "cultures": [ … ] } ]

Core

Operations

Customers

Operations

Order

Operations

Products

Operations

Shopping

Operations

Metadata

Operations