Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 8b1974f

Browse files
authored
udpate attributes docs (#6272)
1 parent 3be6767 commit 8b1974f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/StoreApi/docs/product-attributes.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Product Attributes API <!-- omit in toc -->
22

3-
- [List Product Attributes](#list-product-attributes)
4-
- [Single Product Attribute](#single-product-attribute)
3+
- [List Product Attributes](#list-product-attributes)
4+
- [Single Product Attribute](#single-product-attribute)
55

66
## List Product Attributes
77

@@ -22,15 +22,15 @@ Example response:
2222
{
2323
"id": 1,
2424
"name": "Color",
25-
"slug": "pa_color",
25+
"taxonomy": "pa_color",
2626
"type": "select",
2727
"order": "menu_order",
2828
"has_archives": false
2929
},
3030
{
3131
"id": 2,
3232
"name": "Size",
33-
"slug": "pa_size",
33+
"taxonomy": "pa_size",
3434
"type": "select",
3535
"order": "menu_order",
3636
"has_archives": false
@@ -60,7 +60,7 @@ curl "https://example-store.com/wp-json/wc/store/v1/products/attributes/1"
6060
{
6161
"id": 1,
6262
"name": "Color",
63-
"slug": "pa_color",
63+
"taxonomy": "pa_color",
6464
"type": "select",
6565
"order": "menu_order",
6666
"has_archives": false

0 commit comments

Comments
 (0)