Actualizar Productos en una Tienda

PUT https://api.software.madkting.com/shops/(shop_pk)/products/
Parameters:
  • shop_pk – El id de la tienda de la que se quieren actualizar los productos.

Se envia una lista de objetos Producto con los campos que se quieren actualizar y el pk de cada articulo

Status Codes:

Ejemplo de petición

PUT https://api.software.madkting.com/shops/2/products/ HTTP/1.1
Accept: application/json
Authorization: Token 54f2d8bcfc49e7821da31a83ab95e40213c0a5c1
[
	{
		"pk": 530,
		"availability": "in_stock",
		"description": "Don\u2019t miss a thing\u2014enjoy high-quality 720p HD widescreen video together with crystal clear audio, with the LifeCam Cinema. Relax while the camera automatically sharpens your images and TrueColor adjusts exposure for bright, vibrant footage. And for even sharper video, take advantage of the high-precision glass lens and ClearFrame Technology to improve the picture even in low light conditions."
	}
]

Ejemplo de respuesta

HTTP/1.1 201 CREATED
Vary: Accept
Content-Type: application/json
Location: https://api.software.madkting.com/feeds/WsS4nORWt9RGGaQTgxFOuWxC1d5hWwg1/
Allow: GET, POST, PUT, DELETE, OPTIONS