API Documentation

Products UPDATE ATTRIBUTE

Purpose/Overview

This request is for updating a single attribute of an existing product for a seller. Currently the availability and sku attributes are supported.

URL

PUT /seller_api/products/:sku_or_id/attribute/:attribute/:value

Replace :sku_or_id with the ID or the SKU of the product.

Replace :attribute with the attribute name.

Replace :value with the value to be set for the given attribute.

cURL Example

curl https://dawanda.com/seller_api/products/MYPRODUCT1/attribute/availability/3 \
  -X PUT \
  -H "X-Dawanda-Auth: YOUR_API_KEY" \
  -d ""

curl https://dawanda.com/seller_api/products/OLDSKU/attribute/sku/NEWSKU \
  -X PUT \
  -H "X-Dawanda-Auth: YOUR_API_KEY" \
  -d ""

Success Response(s)

After a successful update the API will respond with HTTP Status 204 (No Content) and without a response body.

Failure Responses

When an error has occurred, the API will respond with an appropriate HTTP Status code. The response body will contain an XML document containing a human readable error message and additional details (if any).

See also: Error Codes.

Relevant Information

Currently only the availability attribute is supported by this endpoint.

Constraints

This request requires authentication.

Related Requests/Pages