Pricing (Legacy)
Create the pricing models in Emporix (legacy).
Last updated
Was this helpful?
Was this helpful?
{
"id": "61b9dcb2cfa47f0001e0e75d",
"productId": "61b9dc9ff5758b79d5815892",
"siteCode": "main",
"currency": "EUR",
"originalAmount": 0.3582,
"effectiveAmount": 0.2682,
"measurementUnit": {
"quantity": "1.0",
"unitCode": "H87"
},
"basePrice": {
"originalAmount": 1.99,
"effectiveAmount": 1.49,
"measurementUnit": {
"quantity": 1.0,
"unitCode": "KGM"
}
},
"presentationPrice": {
"originalAmount": 1.99,
"effectiveAmount": 1.49,
"measurementUnit": {
"quantity": 1.0,
"unitCode": "KGM"
}
},
"customAttributes": {},
"salePrice": {
"discountRate": 25.0,
"description": "25% off!"
},
"metadata": {
"mixinMetadata": {
"mixins": {}
}
}
}{
"id": "61b9dc9ff5758b79d5815892",
"code": "SALEPRICE",
"name": {
"localizedMap": {
"en": "Product on sale"
},
"multiLanguage": true
},
"description": {
"localizedMap": {
"en": "Product created for documentation purposes."
},
"multiLanguage": true
},
"published": true,
"mixins": {
"salePricesData": {
"salePrices": [
{
"enabled": true,
"salePriceAmount": 1.49,
"salePriceEnd": "2021-12-31T23:59:00.000+0000",
"salePriceStart": "2021-12-23T00:00:00.000+0000"
}
]
},
"productCustomAttributes": {
"activeTab": "ProductDescription",
"categoryPath": {
"categoryLevel1": "example-category-1",
"prettyName": "product-on-sale",
"categoryLevel2": "",
"categoryLevel3": ""
},
"defaultOrderQuantity": 1,
"inStock": true,
"maxOrderQuantity": 10,
"minOrderQuantity": 1,
"orderUnit": "H87",
"pricingMeasure": {
"unitCode": "KGM",
"value": 1
},
"pricingMeasurePrice": 1.99,
"productState": "prepare",
"taxClass": "FULL",
"unitPricingBaseMeasure": {
"unitCode": "KGM",
"value": 1
},
"unitPricingMeasure": {
"unitCode": "GRM",
"value": 180
},
"weightDependent": true
}
},
"metadata": {
"mixinMetadata": {
"mixins": {
"salePricesData": "https://res.cloudinary.com/saas-ag/raw/upload/schemata/salePriceData.json",
"productCustomAttributes": "https://res.cloudinary.com/saas-ag/raw/upload/v1560527845/schemata/CAAS/productCustomAttributesMixIn-v38.json"
}
},
"schema": "https://res.cloudinary.com/saas-ag/raw/upload/v1544786405/schemata/CAAS/product.v2"
}
}