This API specification is available for download as an Open API 3.0 YAML file:
The following page lists available REST APIs for ICM 11 and their version dependencies:
/countries
This operation returns the list of countries currently available for the channel. A country is considered available if it is included in an active region as part of an active freight class of a shipping eligibility. Moreover, the region and eligibility must have at least one shipping method assigned. It is not mandatory that the assigned shipping method is active.
public jakarta.ws.rs.core.Response com.intershop.sellside.rest.country.v1.capi.resource.country.CountryListResource.getCountries_V1()
200 - OK The list of available countries.
/countries/{countryCode}
Returns the country details for given country code. If country with this code is not found a 404 error will be returned.
public jakarta.ws.rs.core.Response com.intershop.sellside.rest.country.v1.capi.resource.country.CountryItemResource.getCountry_V1()
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | countryCode | string | Required |
200 - OK The requested country details.
404 - Not Found If a country with the given code is not found.
/countries/{countryCode}/main-divisions
Returns the available maindivisions for given country code. If country with this code is not found a 404 error will be returned.
public jakarta.ws.rs.core.Response com.intershop.sellside.rest.country.v1.capi.resource.maindivision.MainDivisionListResource.getMainDivisions_V1()
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | countryCode | string | Required |
200 - OK The list of available maindivisions.
404 - Not Found If a country with the given code is not found.
The localization API endpoint allows clients to obtain a list of localized texts or specific localization keys. All operations support different locales. In order to
select texts for a particular locale, use the matrix parameter loc
.
The returned localization value is the imported or defined value without any replacements or formatting (the server location functionality requires the Java Message Format for these values).
Following (JUnit Test) example shows how to retrieve localized texts for a site:
curl https://<SERVER>/INTERSHOP/rest/WFS/<SITE>/-/localizations
{loc}/localizations
This operation returns a map that contains localized texts for the requested locale.
public java.util.Map com.intershop.beehive.platformrest.resource.localization.LocalizationResource.getLocalizations(java.lang.String)
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | loc | string | en_US | The locale ID (submitted as optional matrix parameter ;loc=<LOCALE> ). If omitted, the priority is as follows (from high to low): Locale ID parameter, user's default locale, site's default locale. The available locales depend on your individual Intershop Commerce Management installation. Use IANA language definitions for languages and regions and combine them using a underscore, e. g. en_US . | |
in query | searchKeys | string | error,webform | An optional comma separated list of search keys. If given, only localizations which keys contain at least one of the search keys are returned. |
default - Unknown default response
{loc}/localizations/{key}
This operation returns the localized text for the given key in the requested locale passed in as matrix parameter '''loc'''.
public java.lang.String com.intershop.beehive.platformrest.resource.localization.LocalizationResource.getLocalization(java.lang.String)
Location | Name | Format | Default | Example | Description |
---|---|---|---|---|---|
in path | loc | string | en_US | The locale ID (submitted as optional matrix parameter ;loc=<LOCALE> ). If omitted, the priority is as follows (from high to low): Locale ID parameter, user's default locale, site's default locale. The available locales depend on your individual Intershop Commerce Management installation. Use IANA language definitions for languages and regions and combine them using a underscore, e. g. en_US . | |
in path | key | string | account.giftcard.form.ok | Required | The localization key |
200 - OK
204 - No Content - Occurs if key is not available
FeedbackRO_v1
objects. List of errors that occurred in relation to the request.FeedbackRO_v1
: An error or piece of information related to the current request.FeedbackCauseRO_v1
objects. A collection of errors/warnings/infos that caused the feedback.FeedbackCauseRO_v1
: A representation for the common feedback information.product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
422
FeedbackRO_v1
objects. List of informations regarding to the request (e.g. value adjustments).FeedbackRO_v1
: An error or piece of information related to the current request.FeedbackCauseRO_v1
objects. A collection of errors/warnings/infos that caused the feedback.FeedbackCauseRO_v1
: A representation for the common feedback information.product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
422
GeoObjectRO_v1
object. Describes a geoobject which can be a country or maindivision/state.US
United States
FeedbackRO_v1
objects. List of errors that occurred in relation to the request.FeedbackRO_v1
: An error or piece of information related to the current request.FeedbackCauseRO_v1
objects. A collection of errors/warnings/infos that caused the feedback.FeedbackCauseRO_v1
: A representation for the common feedback information.product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
422
FeedbackRO_v1
objects. List of informations regarding to the request (e.g. value adjustments).FeedbackRO_v1
: An error or piece of information related to the current request.FeedbackCauseRO_v1
objects. A collection of errors/warnings/infos that caused the feedback.FeedbackCauseRO_v1
: A representation for the common feedback information.product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
422
GeoObjectRO_v1
objects. The core data of the response object.GeoObjectRO_v1
: Describes a geoobject which can be a country or maindivision/state.US
United States
FeedbackRO_v1
objects. List of errors that occurred in relation to the request.FeedbackRO_v1
: An error or piece of information related to the current request.FeedbackCauseRO_v1
objects. A collection of errors/warnings/infos that caused the feedback.FeedbackCauseRO_v1
: A representation for the common feedback information.product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
422
FeedbackRO_v1
objects. List of informations regarding to the request (e.g. value adjustments).FeedbackRO_v1
: An error or piece of information related to the current request.FeedbackCauseRO_v1
objects. A collection of errors/warnings/infos that caused the feedback.FeedbackCauseRO_v1
: A representation for the common feedback information.product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
product.name.required.error
The product name must be specified.
string
literals. A collection of JSON paths to the associated entities. Unless otherwise specified, this always refers to the request entity. | Documentation: https://github.com/json-path/JsonPath | Example: ["\"$.name (position: 1)\""]
422