Ucommerce includes full API reference documentation and lots of helpful articles to help you build your e-commerce site as effortlessly as possible.

Topics Payment Providers

Get Price Groups

To get your price groups your request should have at least the required request headers:

  • CultureCode

There are optional parameters as following:

  • MaxItems
  • NextPagingToken

The first thing you need to do is to attach your AccessToken token to the request's header. See Quick Start if you are not sure how to do that.

Price groups are used during checkout for example when you add a product to basket

To get available price groups, the only required thing is to pass in a cultureCode.

    curl -D- -X POST \
    -H 'Authorization: Bearer <ACCESS_TOKEN>'
    -H 'Content-Type: application/json' \
    -d '{
    "cultureCode": "en-US",

If you get a successful response, the newly created basketId will be returned back to you.


        "priceGroups": [
                id: "1127af1d-32a5-6dda-bde4-500a351ff478",
                name: "EUR 15 %"

Possible errors that may occur:

Error Description
BadRequest (400) PriceGroup does not exist; Country does not exist; etc.
Unauthorized (401) The token has expired or was not valid
Forbidden (403) The token does not have access to this endpoint


        "errors": [
                "error-description": "Store does not exist.",
                "error": "BadRequest"

See Handling failures for more info.