post https://api.repsly.com/v3/import/pricelist
Endpoint is used to import items from your system into pricelists that already exist in Repsly.
Request definition
Required keys are marked with a red triangle 🔺
Name | Type | Description |
---|---|---|
PricelistName 🔺 | String | Pricelist name |
ProductCode 🔺 | String | Product code |
Price 🔺 | Double | Product price on the pricelist |
Active | Boolean | If the pricelist item is active or inactive |
DateAvailableFrom | Datetime | Date after which the product is available on the pricelist. If null, the lower date limit is considered open (Date format example: 2024-01-31) |
DateAvailableTo | Datetime | Date until which the product is available on the pricelist. If null, the upper date limit is considered open (Date format example: 2024-01-31) |
ClientID | String | Unique client ID |
ManufactureID | String | Unique manufacture ID |
MinQuantity | Nullable <Integer> | The number of product items that can be put on the same purchase order cannot be lower than these limits (if left as null, that limit is not imposed) |
MaxQuantity | Nullable <Integer> | The number of product items that can be put on the same purchase order cannot be higher than these limits (if left as null, that limit is not imposed) |
Response definition
Name | Type | Description |
---|---|---|
Code | Integer | Error identifier (0 = no errors) |
Message | String (255) | Response affirmative or error message |
In case of a HTTP bad request (code 400), you will also receive a status response with Code not equal to 0 and an error message.