Through this service; You can sell your products in Modanisa.
One product must be sent for each request.
"brand_id" and "category_id" parameters cannot be sent in product update!
Color is required for product attribute.
Size or number must be entered for the Variant attribute.
Each color of the products must be sent as a separate item.
Each color of the products must be sent as a separate item.
For cosmetics category products, it is possible to send volume as an attribute. It is not mandatory. The corresponding attribute_id value is 14.
Weight information can be sent optionally for all products.
PUT
https://marketplace-stg.modanisa.com/api/marketplace/update-product
Parameter
Explanation
Data Type
Compulsory
product_id
Product code (minimum 2 , maximum 50 characters - It is not possible to edit products that have been sold.)
string
Yes
product_name
Product name (minimum 10 , maximum 255 characters)
string
Yes
description
Product description
string
Yes
origin_country_id
Origin country ID from Modanisa service
integer
Yes
stock_code
Stock code
string
Yes
tax_rate
VAT information (must be one of the values 8, 18 and
values from Tax Rates service should be used
- It is not possible to edit products that have been sold.)
integer
Yes
season_id
Season id taken from Modanisa service
integer
Yes
fabrics
Fabric information
array-list
Yes
Parameter
Explanation
Data Type
Compulsory
fabric_id
Fabric id purchased from Modanisa service
integer
Yes
percentage
Percentage of Fabric ( no more than 100 )
integer
Yes
models
Mannequin information
array-list
No
Parameter
Explanation
Data Type
Compulsory
size
Body size
string
Yes
waist
Waist size (cm)
integer
Yes
length
Height (cm)
integer
Yes
hip
Hip size (cm)
integer
Yes
chest
Chest size (cm)
integer
Yes
images
Images
array-list
Yes
Parameter
Explanation
Data Type
Compulsory
url
Visual link (must have http or https protocol and one of jpg, jpeg or png extensions). Visual dimensions should be at least 800(w) x 1080(h) px and in vertical format.
string
Yes
variants
Product breakdowns - Only new additions can be made
array-list
Yes
Parameter
Explanation
Data Type
Compulsory
variant_id
Refraction id
string
Yes
barcode
Barcode (must not contain Turkish and special characters)
string
Yes
attributes
Refractive characteristics
array-list
Yes
Parameter
Explanation
Data Type
Compulsory
attribute_id
Breakdown feature taken from Modanisa service
integer
Yes
attribute_value_id
Breakdown feature value taken from Modanisa service
integer
Yes
Only size or number is required, other features are not required.
alternative_barcodes
Alternative barcodes
array-list
No
Parameter
Explanation
Data Type
Compulsory
barcode
Barcode (Turkish and must not contain special characters )
string
Yes
attributes
Product features
array-list
Yes
Parameter
Explanation
Data Type
Compulsory
attribute_id
Product feature taken from Modanisa service
integer
Yes
attribute_value_id
Product attribute value received from Modanisa service
integer
Yes
Only color is required, other properties are not.
weight
Product weight (kilogram - For example, 0.05 should be sent for 50 grams)