Inbound endpoints

Sales History endpoints

5min

Quick reference

Verb

Path

Method

POST

/api/v1/sales_history/bulk_create_or_update

Upsert sale entries

Loading Sales History into Pricemoov

Description

With our API, you can easily create or update entries in our Sales History table. This table keeps track of all your sales, including the product sold, the date of the sale, and the profit information.

Shell


Parameters

transaction_id



price_list_name



price_dimension



code



extension



quantity



active_price



client_code



agreement_code



departure_date



revenue

type: string, default: unknown, Required

unique identifier

type: string, default: unknown, Optional

Name of the price list linked to the transaction

type: string, default: unknown, Optional

Price dimension

type: string, default: unknown, Required

Product code

type: string, default: unknown, Required

extension

type: string, default: unknown, Required

Quantity sold

type: string, default: unknown, Required

Transaction price

type: string, default: unknown, Optional

Client code

type: string, default: unknown, Optional

Agreement code

type: string, default: unknown, Optional

Departure date

type: string, default: unknown, Required

Transaction revenue

Example

Upon success, the response is 201 OK and returns

JSON