Dokumentation Entwickler API

Recommendation Ressource

Aktualisiert am 16.03.2017

Recommendation Ressource

Create Or Update Product Recommendations

PUT /api/products/1.json

  • PUT /api/products/1.json will create or update the product recommendations from the parameters passed.

Example

Recommendation Ressource

{
"product": {
"recommended_product_code_1": "product-code-1",
"recommended_product_description_1": "Lorem ipsum dolor sit amet.",
"recommended_product_code_2": "product-code-2",
"recommended_product_description_2": "Consectetur adipisicing elit.",
"recommended_product_code_3": "product-code-3",
"recommended_product_description_3": "Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"recommended_product_code_30": "product-code-30",
recommended_product_description_30": "Ut enim ad minim veniam, quis nostrud exercitation.
}
}

Recommendation Ressource

See the Get Product endpoint for more info about the output.

Delete Product Recommendations

PUT /api/products/1.json

  • PUT /api/products/1.json will delete the product recommendations from the parameters passed.

Example

Recommendation Ressource

Status: 200 OK

{
"product": {
"recommended_product_code_1": null,
"recommended_product_code_2": null,
"recommended_product_code_3": null,
"recommended_product_code_30": null
}
}

Recommendation Ressource

See the Get Product endpoint for more info about the output.