Stocks/Articles/{article}/Prices config
Get resolved price configuration for one article
Returns the first matching price configuration for the article using classification, payment method, date, and optional discount type fallback priority.
AuthorizationBearer <token>
In: header
Path Parameters
articlestring
Query Parameters
classification_id?string
Classification code to resolve prices
payment_method_id?string
Payment method code to resolve prices
date?string
Reference date for price lookup (Y-m-d)
Format
dateid_discount_type?string
Discount type ID used as fallback when article-specific price is not found
Response Body
curl -X GET "https://og-tenant1.test:8003/api/v2/stocks/articles/string/prices-config?classification_id=string&payment_method_id=string&date=2019-08-24&id_discount_type=string"{
"data": {
"id": 0,
"type": "string",
"description": "string",
"article_id": "string",
"classification_id": "string",
"payment_method_id": "string",
"price": 0,
"discount_perc": 0,
"discount_perc2": 0,
"discount_perc3": 0,
"discount_perc4": 0,
"discount_perc5": 0,
"discount_type": "string",
"label": "string",
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"updated_by": "string",
"created_at": "2019-08-24T14:15:22Z",
"created_by": "string"
}
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}