Documentation is still being updated. Some content maybe unfinished.
A valid request URL is required to generate request examples[
{
"id": 123,
"name": "<string>",
"slug": "<string>",
"type": "<string>",
"order_by": "<string>",
"has_archives": true,
"links": {
"self": [
{
"href": "<string>"
}
],
"collection": [
{
"href": "<string>"
}
]
}
}
]Returns a list of product attributes.
curl --request GET \
--url {protocol}://{host}/wp-json/cocart/v1/products/attributes[
{
"id": 123,
"name": "<string>",
"slug": "<string>",
"type": "<string>",
"order_by": "<string>",
"has_archives": true,
"links": {
"self": [
{
"href": "<string>"
}
],
"collection": [
{
"href": "<string>"
}
]
}
}
]Scope under which the request is made; determines fields present in response.
view, embed Was this page helpful?