Prices
Prices_create
AuthorizationBearer <token>
In: header
category_tag?string | null
labels_tags?array<string> | null
origins_tags?array<string> | null
price?number | null
Format
doubleRange
0 <= value < 10000000price_is_discounted?boolean
price_without_discount?number | null
Format
doubleRange
0 <= value < 10000000discount_type?DiscountTypeEnum | BlankEnum | NullEnum
price_per?PricePerEnum | BlankEnum | NullEnum
currency?CurrencyEnum | BlankEnum | NullEnum
date?string | null
Format
datereceipt_quantity?Receipt's price quantity (user input)
Format
doubleRange
0 <= value < 10000000owner_comment?string | null
type?TypeF36Enum
PRODUCT- PRODUCTCATEGORY- CATEGORY
Value in
"PRODUCT" | "CATEGORY"product_code?string | null
product_name?string | null
location_osm_id?integer | null
Format
int64Range
0 <= value <= 9223372036854776000location_osm_type?LocationOsmTypeEnum | BlankEnum | NullEnum
location_id?integer
proof_idinteger
Response Body
curl -X POST "https://loading/api/v1/prices" \ -H "Content-Type: application/json" \ -d '{ "proof_id": 0 }'{
"category_tag": "string",
"labels_tags": [
"string"
],
"origins_tags": [
"string"
],
"price": 9999999,
"price_is_discounted": true,
"price_without_discount": 9999999,
"discount_type": "QUANTITY",
"price_per": "UNIT",
"currency": "ADP",
"date": "2019-08-24",
"receipt_quantity": 9999999,
"owner_comment": "string",
"type": "PRODUCT",
"product_code": "string",
"product_name": "string",
"location_osm_id": 9223372036854776000,
"location_osm_type": "NODE",
"location_id": 0,
"proof_id": 0
}