api.setup.customer_categories¶
/api/setup/customer_categories/¶
GET /api/setup/customer_categories/¶
Description:
List all customer categories
can_lock | requires_lock | has_etag | requires_etag |
---|---|---|---|
False | False | False | False |
Request:
<!-- No XML Request. -->
Response:
<customer_categories>
<customer_category uri="/setup/customer_categories/X/" id="X">
<!-- See GET /setup/customer_categories/X/ response -->
</customer_category>
[...]
</product_colors>
/api/setup/customer_categories/(d+)/¶
GET /api/setup/customer_categories/(d+)/¶
Description:
Details of one customer_category
can_lock | requires_lock | has_etag | requires_etag |
---|---|---|---|
False | False | False | False |
Request:
<!-- No XML Request. -->
Response:
<customer_category uri="/setup/customer_categories/X/" id="X">
<name>[string]</name>
<discount>
<percent>[decimal]</percent>
</discount>
<pricing_level index="[int]" name="[str]"/>
</customer_category>