Download OpenAPI specification:Download
API for Product Data Management.
Returns the product information.
| productId required | string^[a-f0-9]{24}$ Logitrail's internal technical ID of the product. |
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. This value is mandatory in every API Call. |
{- "product": {
- "id": "string",
- "sku": "string",
- "gtin": "string",
- "name": "string",
- "name_translations": {
- "fi": "string",
- "en": "string",
- "sv": "string",
- "ee": "string"
}, - "status": "active",
- "secondary_gtin": "string",
- "hs_code": "string",
- "fulfillment_by": "logitrail",
- "origin_country_code": "string",
- "default_purchase_price": 0,
- "flags": [
- "string"
], - "weight_g": 1,
- "dimensions_mm": [
- 0,
- 0,
- 0
], - "components": [
- {
- "product": {
- "id": "string"
}, - "amount": 1
}
], - "batch_packages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "merchant_remarks": "string",
- "gtin": "string",
- "dimensions_mm": [
- 1,
- 1,
- 1
], - "weight_g": 1
}
]
}
}Updates the product data.
| productId required | string^[a-f0-9]{24}$ Logitrail's internal technical ID of the product. |
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. This value is mandatory in every API Call. |
required | object | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
{- "product": {
- "id": "string",
- "sku": "string",
- "gtin": "string",
- "name": "string",
- "name_translations": {
- "fi": "string",
- "en": "string",
- "sv": "string",
- "ee": "string"
}, - "status": "active",
- "secondary_gtin": "string",
- "hs_code": "string",
- "fulfillment_by": "logitrail",
- "origin_country_code": "string",
- "default_purchase_price": 0,
- "flags": [
- "string"
], - "weight_g": 1,
- "dimensions_mm": [
- 0,
- 0,
- 0
], - "components": [
- {
- "product": {
- "id": "string"
}, - "amount": 1
}
], - "batch_packages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "merchant_remarks": "string",
- "gtin": "string",
- "dimensions_mm": [
- 1,
- 1,
- 1
], - "weight_g": 1
}
]
}
}{- "product": {
- "id": "string",
- "sku": "string",
- "gtin": "string",
- "name": "string",
- "name_translations": {
- "fi": "string",
- "en": "string",
- "sv": "string",
- "ee": "string"
}, - "status": "active",
- "secondary_gtin": "string",
- "hs_code": "string",
- "fulfillment_by": "logitrail",
- "origin_country_code": "string",
- "default_purchase_price": 0,
- "flags": [
- "string"
], - "weight_g": 1,
- "dimensions_mm": [
- 0,
- 0,
- 0
], - "components": [
- {
- "product": {
- "id": "string"
}, - "amount": 1
}
], - "batch_packages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "merchant_remarks": "string",
- "gtin": "string",
- "dimensions_mm": [
- 1,
- 1,
- 1
], - "weight_g": 1
}
]
}
}Creates a new product to Logitrail's database.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. This value is mandatory in every API Call. |
required | object | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
{- "product": {
- "sku": "string",
- "gtin": "string",
- "name": "string",
- "name_translations": {
- "fi": "string",
- "en": "string",
- "sv": "string",
- "ee": "string"
}, - "status": "active",
- "secondary_gtin": "string",
- "hs_code": "string",
- "fulfillment_by": "logitrail",
- "origin_country_code": "string",
- "default_purchase_price": 0,
- "flags": [
- "string"
], - "weight_g": 1,
- "dimensions_mm": [
- 0,
- 0,
- 0
], - "components": [
- {
- "product": {
- "id": "string"
}, - "amount": 1
}
], - "batch_packages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "merchant_remarks": "string",
- "gtin": "string",
- "dimensions_mm": [
- 1,
- 1,
- 1
], - "weight_g": 1
}
]
}
}{- "product": {
- "id": "string",
- "sku": "string",
- "gtin": "string",
- "name": "string",
- "name_translations": {
- "fi": "string",
- "en": "string",
- "sv": "string",
- "ee": "string"
}, - "status": "active",
- "secondary_gtin": "string",
- "hs_code": "string",
- "fulfillment_by": "logitrail",
- "origin_country_code": "string",
- "default_purchase_price": 0,
- "flags": [
- "string"
], - "weight_g": 1,
- "dimensions_mm": [
- 0,
- 0,
- 0
], - "components": [
- {
- "product": {
- "id": "string"
}, - "amount": 1
}
], - "batch_packages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "merchant_remarks": "string",
- "gtin": "string",
- "dimensions_mm": [
- 1,
- 1,
- 1
], - "weight_g": 1
}
]
}
}Provides statistics about product master data in the Logitrail's database.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. This value is mandatory in every API Call. |
{- "product_statistics": {
- "active_products_count": 0,
- "inactive_products_count": 0
}
}