Skip to content

Documentation ShoppingService (1.1)

Entities and methods to handle baskets and payments.

Download OpenAPI description
Languages
Servers
https://customer-slug.api-se.norce.tech/commerce/shopping/1.1/

Schemas

Schemas

DeliveryMethod

Idinteger(int32)

The internal id of the DeliveryMethod.

Namestring

The Name of the DeliveryMethod. MaxLength: 50.

TypeIdinteger(int32)

The internal type id of the DeliveryMethod. DeliveryMethodTypes are logical groupings of different types such as home delivery, pickup and such.

TypeNamestring

The TypeName of the DeliveryMethodType. MaxLength: 50.

Descriptionstring

The Description of the DeliveryMethod. MaxLength: max.

PartNostring

The part number, if any, of the product representing the DeliveryMethod. Products setup for delivery methods must have a SkuType equal to Freight. These are handled by Storm and added and removed automatically. MaxLength: 50.

Pricenumber(decimal)

The Price of the DeliveryMethod, excluding VAT.

VatRatenumber(decimal)

A rate to multiply with price to get price inc VAT. 25% VAT equals a VatRate of 1.25.

IsNotifiableboolean

Indicates if the DeliveryMethod has delivery notifications.

ImagePathstring

MaxLength: 255. Obsolete! - Use ImageKey with preset

IsSelectedboolean

IsSelected is set to true for the currently selected DeliveryMethod on baskets. All other DeliveryMethods have this set to false. If no DeliveryMethod has been set all will have this value set to false.

ImageKeystring or null(guid)

A unique id for the image at our image server. Url for images are formed like http://[client specific CDN]/{ImageKey}. Preset, height and width can be sent as parameters.

IsForCompanyOnlyboolean

Indicates if the DeliveryMethod has is for Companies only.

IsForPersonOnlyboolean

Indicates if the DeliveryMethod has is for Customers only.

Costnumber(decimal)

The Cost of the DeliveryMethod.

StoreIdinteger or null(int32)

The internal store id of any Store connected to this DeliveryMethod. Most often this will be set if ZipCode mappings exist in Storm.

WarehouseIdinteger or null(int32)

The internal warehouse id of any Warehouse connected to this DeliveryMethod. Most often this will be set if ZipCode mappings exist in Storm.

LocationIdinteger or null(int32)

The internal location id of any WarehouseLocation connected to this DeliveryMethod. Most often this will be set if ZipCode mappings exist in Storm.

DropPointsArray of objects(DropPoint)(DropPoint)

A list of DropPoint, if any, for the DeliveryMethod. These are not kept in Storm but fetched from integrated DeliveryMethod providers such as ShipAdvisor.

Codestring

An external Code for the DeliveryMethod. MaxLength: 50.

Carrierstring

Optional information about carrier MaxLength: 50.

{ "Id": 0, "Name": "string", "TypeId": 0, "TypeName": "string", "Description": "string", "PartNo": "string", "Price": 0, "VatRate": 0, "IsNotifiable": true, "ImagePath": "string", "IsSelected": true, "ImageKey": "string", "IsForCompanyOnly": true, "IsForPersonOnly": true, "Cost": 0, "StoreId": 0, "WarehouseId": 0, "LocationId": 0, "DropPoints": [ {} ], "Code": "string", "Carrier": "string" }

DropPoint

Codestring

Code is the external/integrated DeliveryMethod provider's code for the pickup store. MaxLength: 50.

RoutingCodestring

MaxLength: 50. Obsolete! - Not used

Depotstring

MaxLength: 50. Obsolete! - Not used

Name1string

The name of the place to pickup the goods. MaxLength: 100.

Name2string

The name part 2 of the place to pickup the goods. MaxLength: 100.

Address1string

The Address of the place to pickup the goods. MaxLength: 100.

Address2string

The Address part 2 of the place to pickup the goods. MaxLength: 100.

PostalCodestring

The ZipCode of the place to pickup the goods. MaxLength: 50.

Citystring

The City of the place to pickup the goods. MaxLength: 50.

CountryCodestring

The CountryCode of the place to pickup the goods. MaxLength: 3.

Contactstring

The Contact of the place to pickup the goods. MaxLength: 100.

Phonestring

The Phone to the place to pickup the goods. MaxLength: 50.

Faxstring

MaxLength: 50. Obsolete! - Not used

Emailstring

The Email to the place to pickup the goods. MaxLength: 255.

Latitudenumber(double)

The Latitude part of the location of the pickup. Can be used to calculate distances.

Longitudenumber(double)

The Longitude part of the location of the pickup. Can be used to calculate distances.

Distancenumber(double)

The Distance to the location of the pickup.

OpeningHoursArray of objects(OpeningHours)(OpeningHours)

A list of opening hours for the pickup.

IsSelectedboolean

Indicates if this is the selected DropPoint or not. Gets set by Storm.

{ "Code": "string", "RoutingCode": "string", "Depot": "string", "Name1": "string", "Name2": "string", "Address1": "string", "Address2": "string", "PostalCode": "string", "City": "string", "CountryCode": "string", "Contact": "string", "Phone": "string", "Fax": "string", "Email": "string", "Latitude": 0.1, "Longitude": 0.1, "Distance": 0.1, "OpeningHours": [ {} ], "IsSelected": true }

ExtraInfo

TypeIdinteger(int32)

The internal id of type. This TypeId might be different in different tiers such as Stage and Production. Use Code if hard coding is required.

Valuestring

The Value of the Entity. MaxLength: max.

Codestring

The Code of the type, if existing. Use this value when hard coding is required. MaxLength: 50.

{ "TypeId": 0, "Value": "string", "Code": "string" }

Basket

Operations

Checkout

Operations

DeliveryMethods

Operations

InfoTypes

Operations

OnHand

Operations

OrderRequest

Operations

Payments

Operations

Promotions

Operations

Subscriptions

Operations