WSE · Schnittstellen

Produktpakete

Verbinden Sie WSE mit Ihren Anwendungen. Entdecken Sie Endpunkte, Datenmodelle und Schnittstellen – nach Funktionsbereichen und Add-ons geordnet.

OpenAPI herunterladen ↓
REST · JSONBearer-Authentifizierung

Produktpakete

ERP API Dokumentation

List Product Bundles Endpoint

Request

Return paginated product bundles.

Security
BearerAuth
Query
is_activeboolean or null(Is Active)
Any of:
boolean
available_onstring or null(Available On)
Any of:
string (date)
skipinteger, >= 0(Skip)
Default:0
limitinteger, [ 1 .. 1000 ](Limit)
Default:100
GET
/product-bundles
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/product-bundles?is_active=true&available_on=2019-08-24&skip=0&limit=100' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Bodyapplication/json
total_countinteger(Total Count)required
itemsArray of objects(Items)required
Response
{ "total_count": 0, "items": [ { … } ] }

Create Product Bundle Endpoint

Request

Create one product bundle.

Security
BearerAuth
Bodyapplication/jsonrequired
bundle_keystring, [ 1 .. 120 ] characters(Bundle Key)^[a-z0-9]+([._-][a-z0-9]+)*$required

Lowercase stable slug key.

namestring, [ 1 .. 200 ] characters(Name)required
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
is_activeboolean(Is Active)
Default:true
sort_orderinteger, >= 0(Sort Order)
Default:0
available_fromstring or null(Available From)
Any of:
string (date)
available_untilstring or null(Available Until)
Any of:
string (date)
POST
/product-bundles
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/product-bundles' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "bundle_key": "string",
  "name": "string",
  "description": "string",
  "is_active": true,
  "sort_order": 0,
  "available_from": "2019-08-24",
  "available_until": "2019-08-24"
}'

Responses

Successful Response

Bodyapplication/json
product_bundle_idstring, (uuid4)(Product Bundle Id)required
bundle_keystring(Bundle Key)required
namestring(Name)required
is_activeboolean(Is Active)required
sort_orderinteger(Sort Order)required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
available_fromstring or null(Available From)
Any of:
string (date)
available_untilstring or null(Available Until)
Any of:
string (date)
groupsArray of objects(Groups)
Response
{ "product_bundle_id": "string", "bundle_key": "string", "name": "string", "description": "string", "is_active": true, "sort_order": 0, "available_from": "2019-08-24", "available_until": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "groups": [ { … } ] }

Get Product Bundle Endpoint

Request

Return one product bundle.

Security
BearerAuth
Path
product_bundle_idstring, (uuid4)(Product Bundle Id)required
GET
/product-bundles/{product_bundle_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request GET \
  --url 'https://your-instance.example.invalid/product-bundles/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Bodyapplication/json
product_bundle_idstring, (uuid4)(Product Bundle Id)required
bundle_keystring(Bundle Key)required
namestring(Name)required
is_activeboolean(Is Active)required
sort_orderinteger(Sort Order)required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
available_fromstring or null(Available From)
Any of:
string (date)
available_untilstring or null(Available Until)
Any of:
string (date)
groupsArray of objects(Groups)
Response
{ "product_bundle_id": "string", "bundle_key": "string", "name": "string", "description": "string", "is_active": true, "sort_order": 0, "available_from": "2019-08-24", "available_until": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "groups": [ { … } ] }

Update Product Bundle Endpoint

Request

Update one product bundle.

Security
BearerAuth
Path
product_bundle_idstring, (uuid4)(Product Bundle Id)required
Bodyapplication/jsonrequired
bundle_keystring or null(Bundle Key)
Any of:

Lowercase stable slug key.

[ 1 .. 120 ] characters
string
namestring or null(Name)
Any of:
[ 1 .. 200 ] characters
string
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
is_activeboolean or null(Is Active)
Any of:
boolean
sort_orderinteger or null(Sort Order)
Any of:
>= 0
integer
available_fromstring or null(Available From)
Any of:
string (date)
available_untilstring or null(Available Until)
Any of:
string (date)
PATCH
/product-bundles/{product_bundle_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/product-bundles/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "bundle_key": "string",
  "name": "string",
  "description": "string",
  "is_active": true,
  "sort_order": 0,
  "available_from": "2019-08-24",
  "available_until": "2019-08-24"
}'

Responses

Successful Response

Bodyapplication/json
product_bundle_idstring, (uuid4)(Product Bundle Id)required
bundle_keystring(Bundle Key)required
namestring(Name)required
is_activeboolean(Is Active)required
sort_orderinteger(Sort Order)required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
available_fromstring or null(Available From)
Any of:
string (date)
available_untilstring or null(Available Until)
Any of:
string (date)
groupsArray of objects(Groups)
Response
{ "product_bundle_id": "string", "bundle_key": "string", "name": "string", "description": "string", "is_active": true, "sort_order": 0, "available_from": "2019-08-24", "available_until": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "groups": [ { … } ] }

Delete Product Bundle Endpoint

Request

Delete one product bundle.

Security
BearerAuth
Path
product_bundle_idstring, (uuid4)(Product Bundle Id)required
DELETE
/product-bundles/{product_bundle_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/product-bundles/string' \
  --header 'Accept: application/problem+json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Response
No content

Create Product Bundle Group Endpoint

Request

Create one product bundle group.

Security
BearerAuth
Path
product_bundle_idstring, (uuid4)(Product Bundle Id)required
Bodyapplication/jsonrequired
group_keystring, [ 1 .. 120 ] characters(Group Key)^[a-z0-9]+([._-][a-z0-9]+)*$required

Lowercase stable slug key.

namestring, [ 1 .. 200 ] characters(Name)required
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle group. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
is_activeboolean(Is Active)
Default:true
is_requiredboolean(Is Required)
Default:false
selection_modestring(ProductBundleSelectionMode)

Supported selection modes for one product bundle group.

Default:"multiple"
Enum:"single""multiple"
min_selected_productsinteger, >= 0(Min Selected Products)
Default:0
max_selected_productsinteger or null(Max Selected Products)
Any of:
>= 0
integer
min_total_quantitynumber or string(Min Total Quantity)
Any of:
>= 0
number
max_total_quantitynumber or string or null(Max Total Quantity)
Any of:
>= 0
number
sort_orderinteger, >= 0(Sort Order)
Default:0
POST
/product-bundles/{product_bundle_id}/groups
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/product-bundles/string/groups' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "group_key": "string",
  "name": "string",
  "description": "string",
  "is_active": true,
  "is_required": false,
  "selection_mode": "single",
  "min_selected_products": 0,
  "max_selected_products": 0,
  "min_total_quantity": "0.00",
  "max_total_quantity": 0,
  "sort_order": 0
}'

Responses

Successful Response

Bodyapplication/json
product_bundle_idstring, (uuid4)(Product Bundle Id)required
bundle_keystring(Bundle Key)required
namestring(Name)required
is_activeboolean(Is Active)required
sort_orderinteger(Sort Order)required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
available_fromstring or null(Available From)
Any of:
string (date)
available_untilstring or null(Available Until)
Any of:
string (date)
groupsArray of objects(Groups)
Response
{ "product_bundle_id": "string", "bundle_key": "string", "name": "string", "description": "string", "is_active": true, "sort_order": 0, "available_from": "2019-08-24", "available_until": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "groups": [ { … } ] }

Update Product Bundle Group Endpoint

Request

Update one product bundle group.

Security
BearerAuth
Path
product_bundle_group_idstring, (uuid4)(Product Bundle Group Id)required
Bodyapplication/jsonrequired
group_keystring or null(Group Key)
Any of:

Lowercase stable slug key.

[ 1 .. 120 ] characters
string
namestring or null(Name)
Any of:
[ 1 .. 200 ] characters
string
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle group. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
is_activeboolean or null(Is Active)
Any of:
boolean
is_requiredboolean or null(Is Required)
Any of:
boolean
selection_modeProductBundleSelectionMode (string) or null
Any of:

Supported selection modes for one product bundle group.

string(ProductBundleSelectionMode)
Enum:"single""multiple"
min_selected_productsinteger or null(Min Selected Products)
Any of:
>= 0
integer
max_selected_productsinteger or null(Max Selected Products)
Any of:
>= 0
integer
min_total_quantitynumber or string or null(Min Total Quantity)
Any of:
>= 0
number
max_total_quantitynumber or string or null(Max Total Quantity)
Any of:
>= 0
number
sort_orderinteger or null(Sort Order)
Any of:
>= 0
integer
PATCH
/product-bundle-groups/{product_bundle_group_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/product-bundle-groups/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "group_key": "string",
  "name": "string",
  "description": "string",
  "is_active": true,
  "is_required": true,
  "selection_mode": "single",
  "min_selected_products": 0,
  "max_selected_products": 0,
  "min_total_quantity": 0,
  "max_total_quantity": 0,
  "sort_order": 0
}'

Responses

Successful Response

Bodyapplication/json
product_bundle_idstring, (uuid4)(Product Bundle Id)required
bundle_keystring(Bundle Key)required
namestring(Name)required
is_activeboolean(Is Active)required
sort_orderinteger(Sort Order)required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
available_fromstring or null(Available From)
Any of:
string (date)
available_untilstring or null(Available Until)
Any of:
string (date)
groupsArray of objects(Groups)
Response
{ "product_bundle_id": "string", "bundle_key": "string", "name": "string", "description": "string", "is_active": true, "sort_order": 0, "available_from": "2019-08-24", "available_until": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "groups": [ { … } ] }

Delete Product Bundle Group Endpoint

Request

Delete one product bundle group.

Security
BearerAuth
Path
product_bundle_group_idstring, (uuid4)(Product Bundle Group Id)required
DELETE
/product-bundle-groups/{product_bundle_group_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/product-bundle-groups/string' \
  --header 'Accept: application/problem+json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Response
No content

Create Product Bundle Group Product Endpoint

Request

Add one product option to a product bundle group.

Security
BearerAuth
Path
product_bundle_group_idstring, (uuid4)(Product Bundle Group Id)required
Bodyapplication/jsonrequired
product_idstring, (uuid4)(Product Id)required
display_name_overridestring or null(Display Name Override)
Any of:
<= 200 characters
string
description_overridestring or null(Description Override)
Any of:

CommonMark source overriding the product description in this bundle group. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 10000 characters
string
is_activeboolean(Is Active)
Default:true
is_defaultboolean(Is Default)
Default:false
min_quantitynumber or string(Min Quantity)
Any of:
>= 0
number
max_quantitynumber or string or null(Max Quantity)
Any of:
>= 0
number
default_quantitynumber or string(Default Quantity)
Any of:
>= 0
number
quantity_stepnumber or string(Quantity Step)
Any of:
> 0
number
sort_orderinteger, >= 0(Sort Order)
Default:0
POST
/product-bundle-groups/{product_bundle_group_id}/products
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/product-bundle-groups/string/products' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "product_id": "string",
  "display_name_override": "string",
  "description_override": "string",
  "is_active": true,
  "is_default": false,
  "min_quantity": "0.00",
  "max_quantity": 0,
  "default_quantity": "0.00",
  "quantity_step": "1.00",
  "sort_order": 0
}'

Responses

Successful Response

Bodyapplication/json
product_bundle_idstring, (uuid4)(Product Bundle Id)required
bundle_keystring(Bundle Key)required
namestring(Name)required
is_activeboolean(Is Active)required
sort_orderinteger(Sort Order)required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
available_fromstring or null(Available From)
Any of:
string (date)
available_untilstring or null(Available Until)
Any of:
string (date)
groupsArray of objects(Groups)
Response
{ "product_bundle_id": "string", "bundle_key": "string", "name": "string", "description": "string", "is_active": true, "sort_order": 0, "available_from": "2019-08-24", "available_until": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "groups": [ { … } ] }

Update Product Bundle Group Product Endpoint

Request

Update one product option in a product bundle group.

Security
BearerAuth
Path
product_bundle_group_product_idstring, (uuid4)(Product Bundle Group Product Id)required
Bodyapplication/jsonrequired
display_name_overridestring or null(Display Name Override)
Any of:
<= 200 characters
string
description_overridestring or null(Description Override)
Any of:

CommonMark source overriding the product description in this bundle group. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 10000 characters
string
is_activeboolean or null(Is Active)
Any of:
boolean
is_defaultboolean or null(Is Default)
Any of:
boolean
min_quantitynumber or string or null(Min Quantity)
Any of:
>= 0
number
max_quantitynumber or string or null(Max Quantity)
Any of:
>= 0
number
default_quantitynumber or string or null(Default Quantity)
Any of:
>= 0
number
quantity_stepnumber or string or null(Quantity Step)
Any of:
> 0
number
sort_orderinteger or null(Sort Order)
Any of:
>= 0
integer
PATCH
/product-bundle-group-products/{product_bundle_group_product_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request PATCH \
  --url 'https://your-instance.example.invalid/product-bundle-group-products/string' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "display_name_override": "string",
  "description_override": "string",
  "is_active": true,
  "is_default": true,
  "min_quantity": 0,
  "max_quantity": 0,
  "default_quantity": 0,
  "quantity_step": 1,
  "sort_order": 0
}'

Responses

Successful Response

Bodyapplication/json
product_bundle_idstring, (uuid4)(Product Bundle Id)required
bundle_keystring(Bundle Key)required
namestring(Name)required
is_activeboolean(Is Active)required
sort_orderinteger(Sort Order)required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
available_fromstring or null(Available From)
Any of:
string (date)
available_untilstring or null(Available Until)
Any of:
string (date)
groupsArray of objects(Groups)
Response
{ "product_bundle_id": "string", "bundle_key": "string", "name": "string", "description": "string", "is_active": true, "sort_order": 0, "available_from": "2019-08-24", "available_until": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "groups": [ { … } ] }

Delete Product Bundle Group Product Endpoint

Request

Delete one product option from a product bundle group.

Security
BearerAuth
Path
product_bundle_group_product_idstring, (uuid4)(Product Bundle Group Product Id)required
DELETE
/product-bundle-group-products/{product_bundle_group_product_id}
# Example only: replace the instance URL, token and sample values before use.
curl --request DELETE \
  --url 'https://your-instance.example.invalid/product-bundle-group-products/string' \
  --header 'Accept: application/problem+json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Responses

Successful Response

Response
No content

Update Product Bundle Group Default Selection Endpoint

Request

Replace the complete default selection of one product bundle group.

Security
BearerAuth
Path
product_bundle_group_idstring, (uuid4)(Product Bundle Group Id)required
Bodyapplication/jsonrequired
selectionsArray of objects(Selections)required
PUT
/product-bundle-groups/{product_bundle_group_id}/default-selection
# Example only: replace the instance URL, token and sample values before use.
curl --request PUT \
  --url 'https://your-instance.example.invalid/product-bundle-groups/string/default-selection' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "selections": [
    {
      "product_bundle_group_product_id": "string",
      "quantity": 0
    }
  ]
}'

Responses

Successful Response

Bodyapplication/json
product_bundle_idstring, (uuid4)(Product Bundle Id)required
bundle_keystring(Bundle Key)required
namestring(Name)required
is_activeboolean(Is Active)required
sort_orderinteger(Sort Order)required
created_atstring, (date-time)(Created At)required
updated_atstring, (date-time)(Updated At)required
descriptionstring or null(Description)
Any of:

CommonMark source for the product bundle. Raw HTML and images are not allowed. Links must use HTTPS, a root-relative path, an anchor, mailto, or tel.

<= 20000 characters
string
available_fromstring or null(Available From)
Any of:
string (date)
available_untilstring or null(Available Until)
Any of:
string (date)
groupsArray of objects(Groups)
Response
{ "product_bundle_id": "string", "bundle_key": "string", "name": "string", "description": "string", "is_active": true, "sort_order": 0, "available_from": "2019-08-24", "available_until": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "groups": [ { … } ] }

Validate Product Bundle Selection Endpoint

Request

Validate one product bundle selection.

Security
BearerAuth
Path
product_bundle_idstring, (uuid4)(Product Bundle Id)required
Bodyapplication/jsonrequired
available_onstring or null(Available On)
Any of:
string (date)
selectionsArray of objects(Selections)
POST
/product-bundles/{product_bundle_id}/validate-selection
# Example only: replace the instance URL, token and sample values before use.
curl --request POST \
  --url 'https://your-instance.example.invalid/product-bundles/string/validate-selection' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "available_on": "2019-08-24",
  "selections": [
    {
      "product_bundle_group_product_id": "string",
      "quantity": 0
    }
  ]
}'

Responses

Successful Response

Bodyapplication/json
validboolean(Valid)required
errorsArray of objects(Errors)required
Response
{ "valid": true, "errors": [ { … } ] }