Menu
Product
The product model
Arguments
MerchantNameCode
The merchant name code.
Example : sandbox
IdProduct
The ID of the product to return.
URL
Method : GET
Example : https://{sandbox}.digipart.fr/api/products/{IdProduct}
Fields
IdProduct
The ID of the product to return.
Reference
The reference of the product.
Exemple of response
[
{
"IdProduct": "1000",
"Reference": "ROPPA826-Z1826A",
"ProductDescription": [
{
"IdLang": "1",
"Title": "Titre de produit",
"Description": "Description longue au format html de mon produit
",
"DescriptionShort": "Description courte au format html de mon produit
"
},
{
"IdLang": "2",
"Title": "Title of my product",
"Description": "Long description in html format of my product
",
"DescriptionShort": "Short description in html format of my product
" }
],
"ProductImagesUrl": [
{
"ImagePosition": 0,
"ProductImageUrl": "https://cdn.digipart.fr/upload/images/retouched/4116-ROPPA826-Z1826A-54046.jpg",
"ProductImageThumbnailUrl": "https://cdn.digipart.fr/upload/images/retouched/thumb/thumbnail-4116-ROPPA826-Z1826A-54046.jpg"
},
{
"ImagePosition": 1,
"ProductImageUrl": "https://cdn.digipart.fr/upload/images/retouched/4116-ROPPA826-Z1826A-8.jpg",
"ProductImageThumbnailUrl": "https://cdn.digipart.fr/upload/images/retouched/thumb/thumbnail-4116-ROPPA826-Z1826A-8.jpg"
},
{
"ImagePosition": 2,
"ProductImageUrl": "https://cdn.digipart.fr/upload/images/retouched/4116-ROPPA826-Z1826A-54048.jpg",
"ProductImageThumbnailUrl": "https://cdn.digipart.fr/upload/images/retouched/thumb/thumbnail-4116-ROPPA826-Z1826A-54048.jpg"
},
{
"ImagePosition": 3,
"ProductImageUrl": "https://cdn.digipart.fr/upload/images/retouched/4116-ROPPA826-Z1826A-54051.jpg",
"ProductImageThumbnailUrl": "https://cdn.digipart.fr/upload/images/retouched/thumb/thumbnail-4116-ROPPA826-Z1826A-54051.jpg"
},
{
"ImagePosition": 4,
"ProductImageUrl": "https://cdn.digipart.fr/upload/images/retouched/4116-ROPPA826-Z1826A-54047.jpg",
"ProductImageThumbnailUrl": "https://cdn.digipart.fr/upload/images/retouched/thumb/thumbnail-4116-ROPPA826-Z1826A-54047.jpg"
},
{
"ImagePosition": 5,
"ProductImageUrl": "https://cdn.digipart.fr/upload/images/retouched/4116-ROPPA826-Z1826A-54050.jpg",
"ProductImageThumbnailUrl": "https://cdn.digipart.fr/upload/images/retouched/thumb/thumbnail-4116-ROPPA826-Z1826A-54050.jpg"
},
{
"ImagePosition": 6,
"ProductImageUrl": "https://cdn.digipart.fr/upload/images/retouched/4116-ROPPA826-Z1826A-54494.jpg",
"ProductImageThumbnailUrl": "https://cdn.digipart.fr/upload/images/retouched/thumb/thumbnail-4116-ROPPA826-Z1826A-54494.jpg"
}
],
"GhostImageUrl": "https://cdn.digipart.fr/upload/images/retouched/",
"ProductVideoUrl": null,
"Attributes": [
{
"Size": "S",
"Color": "Blue",
"Quantity": "1"
},
{
"Size": "M",
"Color": "Blue",
"Quantity": "0"
},
{
"Size": "L",
"Color": "Blue",
"Quantity": "0"
},
{
"Size": "XL",
"Color": "Blue",
"Quantity": "1"
}
],
"Prices": [
{
"InPromotion": "true",
"RegularPrices": [
{
"TaxIncl": "149.00",
"TaxExcl": "124.17"
}
],
"PromotionType": [
{
"Type": "percentage",
"Name": "Soldes 30%"
}
],
"PromotionPrices": [
{
"TaxIncl": "104.3",
"TaxExcl": "86.92"
}
],
"PromotionSchedule": [
{
"StartDate": "2022-09-01 00:01:00",
"EndDate": "2022-10-31 23:59:00"
}
]
}
],
"ProductRelationShip": [
{
"IdProduct": "4216",
"Reference": "ROPPA826-L151642",
"Color": "L151642",
"ProductDescription": [
[
{
"Title": "Titre de produit",
"Description": "Description longue au format html de mon produit
",
"IdLang": "1"
},
{
"Title": "Title of my product",
"Description": "Description longue au format html de mon produit
",
"IdLang": "2"
}
]
],
"ProductImageUrl": "https://cdn.digipart.fr/upload/images/retouched/thumb/thumbnail-4216-ROPPA826-L151642-55213.jpg"
}
]
}
]
Sandbox test code