post https://api.repsly.com/v3/import/product
Endpoint is used to import existing products from your system to Repsly.
Request definition
Keys that determine which records to update or insert are marked with a blue diamond 🔹, while the required keys are marked with a red triangle 🔺
| Name | Type | Description |
|---|---|---|
| Code 🔺 🔹 | String (20) | Unique product code. |
| Name 🔺 | String (80) | Product name |
| ProductGroupCode | String (20) | Unique product group code |
| ProductGroupName | String (80) | Product group name |
| Active | Boolean | Marks a product active or inactive |
| Tag | Text | Tags associated with this product (separated with commas) |
| UnitPrice 🔺 | Decimal (18,4) | Product price |
| EAN | String (20) | International Article Number (Barcode) |
| AdditionalBarcodes | String | Comma delimited string that can contain additional barcodes if necessary |
| Note | String (1000) | Additional product note |
| ImageUrl | String | Input image url from which product image will be downloaded. Must be publicly accessible and must be direct link to image |
| MasterProduct | String | Used for grouping purposes |
| Packaging\Codes\Value | String | List of package code values that match already existing packages inside the system. No new packages can be added through product import |
| Packaging\IsSet | Boolean | If true, the packaging code values will override existing values in the database for the given product. If false, the packaging values will be ignored |
| CustomAttributes\AttributeTitle | string | Name of the custom attribute (used for identifiyng it). Can only assign existing custom attribute names |
| CustomAttributes\Value | string | Value of the custom attribute (values must conform to the custom attribute type, e.g. a numeric custom attribute value can only contain numbers) Multiselect custom attributes accept select option names delimited by the pipe character ("|") |
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.