Shipping Groups
Manage shipping groups
Retrieves a list of shipping groups for a specified site.
- : Needed to manage shipping settings.
- : Needed to read shipping settings.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Site unique identifier. A site is a specific shop.
If the tenant owns only one shop, the value should be set to main.
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.
fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7Resource successfully retrieved.
Request syntactically incorrect. Details of the error are included in the response payload.
Unauthorized
Some server side error occurred.
GET /shipping/{tenant}/{site}/groups HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "group1",
"description": {
"en": "This is the description for the group group1.",
"de": "Dies ist die Beschreibung für die Gruppe group1."
}
},
{
"id": "group2",
"description": {
"en": "This is the description for the group group2.",
"de": "Dies ist die Beschreibung für die Gruppe group2."
}
}
]Creates a new shipping group for the specified site.
- : Needed to manage shipping settings.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Site unique identifier. A site is a specific shop.
If the tenant owns only one shop, the value should be set to main.
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.
frShipping groups can be used for customer grouping with use customer group relations.
Delivery group unique identifier.
String value in the specified language.
FedEx 2DayResource successfully created.
Request syntactically incorrect. Details of the error are included in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match required scopes.
Creation failed because there was a conflict with another resource. Details of the error are included in the response payload.
Some server side error occurred.
POST /shipping/{tenant}/{site}/groups HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 141
{
"id": "group1",
"description": {
"en": "This is the description for the group group1.",
"de": "Dies ist die Beschreibung für die Gruppe group1."
}
}{
"id": "group1"
}Retrieves the specified shipping group details.
- : Needed to manage shipping settings.
- : Needed to read shipping settings.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Site unique identifier. A site is a specific shop.
If the tenant owns only one shop, the value should be set to main.
Delivery group unique identifier.
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.
fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7Resource successfully retrieved.
Request syntactically incorrect. Details of the error are included in the response payload.
Unauthorized
The requested resource does not exist.
Some server side error occurred.
GET /shipping/{tenant}/{site}/groups/{groupId} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "group1",
"description": {
"en": "This is the description for the group group1.",
"de": "Dies ist die Beschreibung für die Gruppe group1."
}
}Fully updates the specified shipping group.
- : Needed to manage shipping settings.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Site unique identifier. A site is a specific shop.
If the tenant owns only one shop, the value should be set to main.
Delivery group unique identifier.
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.
frShipping groups can be used for customer grouping with use customer group relations.
Delivery group unique identifier.
String value in the specified language.
FedEx 2DayResource successfully updated.
No content
Request syntactically incorrect. Details of the error are included in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match required scopes.
The requested resource does not exist.
Some server side error occurred.
PUT /shipping/{tenant}/{site}/groups/{groupId} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 141
{
"id": "group1",
"description": {
"en": "This is the description for the group group1.",
"de": "Dies ist die Beschreibung für die Gruppe group1."
}
}No content
Deletes the specified shipping group.
- : Needed to manage shipping settings.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Site unique identifier. A site is a specific shop.
If the tenant owns only one shop, the value should be set to main.
Delivery group unique identifier.
Resource successfully deleted.
Unauthorized
Given authorization scopes are not sufficient and do not match required scopes.
Some server side error occurred.
DELETE /shipping/{tenant}/{site}/groups/{groupId} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Last updated
Was this helpful?

