Shipping Groups

Manage shipping groups

Retrieving shipping groups

get

Retrieves a list of shipping groups for a specified site.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Needed to manage shipping settings.
  • : Needed to read shipping settings.
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
sitestringRequired

Site unique identifier. A site is a specific shop.

If the tenant owns only one shop, the value should be set to main.

Header parameters
Accept-LanguagestringOptional

The Accept-Language request HTTP header defines which languages the client is able to understand, and which locale variant is preferred. It can be a priority list working as a fallback mechanism. If the Accept-Language header is empty, all languages for localized fields are returned in a map format where the key is language code and the value is a translation.

Example: fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7
Responses
200

Resource successfully retrieved.

application/json
get
/shipping/{tenant}/{site}/groups

Creating a shipping group

post

Creates a new shipping group for the specified site.

Required scopes
This endpoint requires the following scopes:
  • : Needed to manage shipping settings.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
sitestringRequired

Site unique identifier. A site is a specific shop.

If the tenant owns only one shop, the value should be set to main.

Header parameters
Content-LanguagestringOptional

The Content-Language request HTTP header defines language of the payload. When the Content-Language header is empty, all localized fields in a payload should be in a map format, where the key is a language code and the value is a translation.

Example: fr
Body

Shipping groups can be used for customer grouping with use customer group relations.

idstringRequired

Delivery group unique identifier.

descriptionone ofOptional
stringOptional

String value in the specified language.

Example: FedEx 2Day
or
Responses
post
/shipping/{tenant}/{site}/groups

Retrieving a shipping group

get

Retrieves the specified shipping group details.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Needed to manage shipping settings.
  • : Needed to read shipping settings.
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
sitestringRequired

Site unique identifier. A site is a specific shop.

If the tenant owns only one shop, the value should be set to main.

groupIdstringRequired

Delivery group unique identifier.

Header parameters
Accept-LanguagestringOptional

The Accept-Language request HTTP header defines which languages the client is able to understand, and which locale variant is preferred. It can be a priority list working as a fallback mechanism. If the Accept-Language header is empty, all languages for localized fields are returned in a map format where the key is language code and the value is a translation.

Example: fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7
Responses
200

Resource successfully retrieved.

application/json
get
/shipping/{tenant}/{site}/groups/{groupId}

Updating a shipping group

put

Fully updates the specified shipping group.

Required scopes
This endpoint requires the following scopes:
  • : Needed to manage shipping settings.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
sitestringRequired

Site unique identifier. A site is a specific shop.

If the tenant owns only one shop, the value should be set to main.

groupIdstringRequired

Delivery group unique identifier.

Header parameters
Content-LanguagestringOptional

The Content-Language request HTTP header defines language of the payload. When the Content-Language header is empty, all localized fields in a payload should be in a map format, where the key is a language code and the value is a translation.

Example: fr
Body

Shipping groups can be used for customer grouping with use customer group relations.

idstringRequired

Delivery group unique identifier.

descriptionone ofOptional
stringOptional

String value in the specified language.

Example: FedEx 2Day
or
Responses
200

Resource successfully updated.

No content

put
/shipping/{tenant}/{site}/groups/{groupId}

No content

Deleting a shipping group

delete

Deletes the specified shipping group.

Required scopes
This endpoint requires the following scopes:
  • : Needed to manage shipping settings.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
sitestringRequired

Site unique identifier. A site is a specific shop.

If the tenant owns only one shop, the value should be set to main.

groupIdstringRequired

Delivery group unique identifier.

Responses
delete
/shipping/{tenant}/{site}/groups/{groupId}

No content

Last updated

Was this helpful?