ProductPricing
Type: schema
Description
Selects the requested customer group price, then the default group price, then the highest selling price when neither is available.
TypeScript Definition
typescript
ProductPricing: {{
currency: string;
/**
* @default GST
* @example GST
* @enum {string}
*/
tax_type: "GST" | "VAT" | "ECO";
/** Format: double */
tax_rate: number;
/** @example false */
price_including_tax: boolean;
/** Format: double */
listing_price: number;
/** Format: double */
selling_price: number;
/**
* @description `null` means no quantity constraint.
* @default 1
*/
min_order_quantity: number | null;
max_order_quantity: number | null;
/**
* @description `null` means no quantity constraint.
* @default 1
*/
incremental_quantity: number | null;
/** Format: double */
selling_price_excluding_tax: number;
};
/**
* ProductPromotion
* @description Active promotion on a product. `null` when `on_promotion` is `false`. The `details` field uses `promotion_type` as discriminator to determine the promotion structure.
*/
}OpenAPI Schema
json
{
"description": " Selects the requested customer group price, then the default group price, then the highest selling price when neither is available.",
"type": "object",
"properties": {
"currency": {
"type": "string"
},
"tax_type": {
"type": "string",
"default": "GST",
"enum": [
"GST",
"VAT",
"ECO"
],
"examples": [
"GST"
]
},
"tax_rate": {
"type": "number",
"format": "double"
},
"price_including_tax": {
"type": "boolean",
"examples": [
false
]
},
"listing_price": {
"type": "number",
"format": "double"
},
"selling_price": {
"type": "number",
"format": "double"
},
"min_order_quantity": {
"description": "`null` means no quantity constraint.",
"type": [
"integer",
"null"
],
"default": 1
},
"max_order_quantity": {
"type": [
"integer",
"null"
]
},
"incremental_quantity": {
"description": "`null` means no quantity constraint.",
"type": [
"integer",
"null"
],
"default": 1
},
"selling_price_excluding_tax": {
"type": "number",
"format": "double"
}
},
"examples": [],
"externalDocs": {
"url": "https://llm-docs.commercengine.io/admin-pos/schemas/ProductPricing"
},
"required": [
"currency",
"tax_type",
"tax_rate",
"price_including_tax",
"listing_price",
"selling_price",
"min_order_quantity",
"max_order_quantity",
"incremental_quantity",
"selling_price_excluding_tax"
],
"title": "ProductPricing"
}Auto-generated from OpenAPI spec and TypeScript definitions