Store management

A Brink Commerce API store is usually equal to a country. You can create, manage or update your stores using the Brink Commerce Management API or Brink Merchant Portal.
A store within Brink Commerce API requires the below settings (standards ISO 3166-1 alpha 2, ISO 639-1, and ISO 4217).\

You need a properly configured store to add products to a cart.

A store requires the following:

IdentifierTypeDescriptionRestrictions
countryCodeStringthe country, ie. "SE" for Sweden[A-Z]{2}
languageCodeStringthe language, ie. "sv" for Swedish[a-z]{2}

currencyUnitStringthe currency, ie. "SEK" for Swedish Krona[A-Z]{3}
taxPercentageIntegerthe amount of sales tax in percentageMin: 0. Max: 40

It's countryCode and languageCode that makes the unique combination for a Store. If you've set up a Store and want to change any of these value, you need to delete it and recreate it with the right values.

Hint
  • Which currency to use and hence which price applies to the specific products in the cart.
  • Which country code to be used, and hence which (product)translations (display name) to use and which country the purchase is taking place, applying tax correctly.
classDiagram Store <|-- product product <|-- price product <|-- discount Store <|-- inventory product <|-- inventory Store: languageCode Store: countryCode Store: currencyCode Store: taxPercentage class product{ languageCode price discount } class price{ currencyCode price } class discount{ currencyCode discount } class inventory { productId stock }