Documentation is still being updated. Some content maybe unfinished.
cURL
curl --request GET \ --url {protocol}://{host}/wp-json/cocart/v1/products/attributes/{id}
{ "id": 123, "name": "<string>", "slug": "<string>", "type": "<string>", "order_by": "<string>", "has_archives": true, "links": { "self": [ { "href": "<string>" } ], "collection": [ { "href": "<string>" } ] } }
Returns a single product attribute.
Unique identifier for the product attribute.
Scope under which the request is made; determines fields present in response.
view
embed
Product attribute data.
Unique identifier for the attribute.
Attribute name.
Attribute slug.
Attribute type.
Attribute order by.
Whether the attribute has archives.
Show child attributes
Link URL.
Was this page helpful?