API Documentation

Shop Categories READ

Purpose/Overview

This request is for retrieving the categories of a shop, including:

URL

GET /seller_api/shop_categories

Respected parameters

cURL Example

curl https://dawanda.com/seller_api/shop_categories?language=en -H "X-Dawanda-Auth: YOUR_API_KEY"

Success Response(s)

A successful request will respond with a response containing all shop cartegories of the authenticated seller.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<dawanda:shop_categories xmlns:dawanda="http://dawanda.com/api/resources/schemas/ShopCategories" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://dawanda.com/api/resources/schemas/ShopCategories.xsd">
  <dawanda:shop_category id="3" position="1" name="Category 1"/>
  <dawanda:shop_category id="4" position="2" name="Category 2"/>
</dawanda:shop_categories>

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.

Schema

Link to Schema: ShopCategories.xsd

Related Requests/Pages