api.setup.product_colors¶
/api/setup/product_colors/¶
GET /api/setup/product_colors/¶
Description:
Get all color entries.
can_lock | requires_lock | has_etag | requires_etag |
---|---|---|---|
False | False | False | False |
Filters:
Name | Description |
---|---|
name | Returns entries whose name contain the provided substring. E.g: name contains “Blue” |
Request:
<!-- No XML Request. -->
Response:
<product_colors>
<product_color uri="/setup/product_colors/X/" id="X">
<!-- See GET /setup/product_colors/X/ response -->
</product_color>
[...]
</product_colors>
/api/setup/product_colors/(d+)/¶
GET /api/setup/product_colors/(d+)/¶
Description:
Get a specific color entry.
can_lock | requires_lock | has_etag | requires_etag |
---|---|---|---|
False | False | False | False |
Request:
<!-- No XML Request. -->
Response:
<product_color uri="/setup/product_colors/X/" id="X">
<name>[str]</name>
</product_color>