Skip to main content
POST
Create Transaction

Parámetros de ruta

entity_id
string<uuid>
requerido

Cuerpo

application/json
item_id
string
requerido
transaction_timestamp
string<date-time>
requerido
quantity
requerido
selling_price
requerido
sku
string | null
region
string | null
sales_value
gross_profit
stock_after_sale
regular_price
promo_type
string | null
zone_price
external_transaction_id
string | null
unit_cost
discount_rate
currency
string | null
tax_rate
transaction_type
string | null
store_id
string | null

Organization store UUID, external code or name; unknown references silently create an organization store. Omitted/blank uses the persisted designated default. Responses use the canonical UUID.

Respuesta

Successful Response

id
string<uuid>
requerido
item_id
string
requerido
sku
string | null
region
string | null
sales_value
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
gross_profit
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
stock_after_sale
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
regular_price
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
promo_type
string | null
zone_price
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
external_transaction_id
string | null
unit_cost
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
discount_rate
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
currency
string | null
tax_rate
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
transaction_type
string | null
store_id
string | null
transaction_timestamp
string<date-time> | null
quantity
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
selling_price
string | null
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$