Download OpenAPI specification:Download
API for managing merchant customer price lists and pricing rules.
Returns all customer price lists belonging to the merchant.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "price_lists": [
- {
- "id": "string",
- "key": "string",
- "comment": "string",
- "valid_from": null,
- "pricing_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "price_modification_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "currency": "string",
- "vat_percentage": 0,
- "vat_handling": "including_vat",
- "default_price": 0,
- "status": "active"
}
]
}Creates a new customer price list.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
required | object | ||||||||||||||||||
| |||||||||||||||||||
{- "price_list": {
- "key": "string",
- "comment": "string",
- "valid_from": "string",
- "pricing_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "price_modification_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "currency": "string",
- "vat_percentage": 0,
- "vat_handling": "including_vat",
- "default_price": 0
}
}{- "price_list": {
- "id": "string",
- "key": "string",
- "comment": "string",
- "valid_from": null,
- "pricing_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "price_modification_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "currency": "string",
- "vat_percentage": 0,
- "vat_handling": "including_vat",
- "default_price": 0,
- "status": "active"
}
}Returns a single customer price list by ID.
| priceListId required | string^[a-f0-9]{24}$ Internal technical ID of the price list. |
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "price_list": {
- "id": "string",
- "key": "string",
- "comment": "string",
- "valid_from": null,
- "pricing_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "price_modification_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "currency": "string",
- "vat_percentage": 0,
- "vat_handling": "including_vat",
- "default_price": 0,
- "status": "active"
}
}Updates an existing customer price list, including its pricing rules.
| priceListId required | string^[a-f0-9]{24}$ Internal technical ID of the price list. |
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
required | object | ||||||||||||||||||
| |||||||||||||||||||
{- "price_list": {
- "key": "string",
- "comment": "string",
- "valid_from": "string",
- "pricing_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "price_modification_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "currency": "string",
- "vat_percentage": 0,
- "vat_handling": "including_vat",
- "default_price": 0
}
}{- "price_list": {
- "id": "string",
- "key": "string",
- "comment": "string",
- "valid_from": null,
- "pricing_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "price_modification_rules": [
- {
- "criteria": {
- "operator": "and",
- "criteria": [
- {
- "parameter": "order.shipping_type",
- "operator": "=",
- "string_value": "string"
}
]
}, - "comment": "string",
- "price_type": "gross_price",
- "price_value": 0
}
], - "currency": "string",
- "vat_percentage": 0,
- "vat_handling": "including_vat",
- "default_price": 0,
- "status": "active"
}
}Not implemented. Will soft-delete (disable) a customer price list once the legacy pricing engine supports skipping disabled lists.
| priceListId required | string^[a-f0-9]{24}$ Internal technical ID of the price list. |
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "message": "string"
}