Skip to content

Commit b9905b8

Browse files
committed
attributes
1 parent ac37c20 commit b9905b8

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/includes/wp-api-v1/_product-attributes.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Product - Attributes #
1+
# Product Attributes #
22

33
This section lists all API endpoints that can be used to create, edit or otherwise manipulate product attributes.
44

5-
## Product Attribute Properties ##
5+
## Product attribute properties ##
66

77
| Attribute | Type | Description |
88
|----------------|---------|-----------------------------------------------------------------------------------------------------------|
@@ -13,11 +13,11 @@ This section lists all API endpoints that can be used to create, edit or otherwi
1313
| `order_by` | string | Default sort order. Default is `menu_order`. Options: `menu_order`, `name`, `name_num` and `id`. |
1414
| `has_archives` | boolean | Enable/Disable attribute archives. Default is `false`. |
1515

16-
## Create a Product Attribute ##
16+
## Create a product attribute ##
1717

1818
This API helps you to create a new product attribute.
1919

20-
### HTTP Request ###
20+
### HTTP request ###
2121

2222
<div class="api-endpoint">
2323
<div class="endpoint-data">
@@ -116,7 +116,7 @@ woocommerce.post("products/attributes", data).parsed_response
116116
}
117117
```
118118

119-
## View a Product Attribute ##
119+
## Retrieve a product attribute ##
120120

121121
This API lets you retrieve and view a specific product attribute by ID.
122122

@@ -175,11 +175,11 @@ woocommerce.get("products/attributes/1").parsed_response
175175
}
176176
```
177177

178-
## View List of Product Attributes ##
178+
## List all product attributes ##
179179

180180
This API helps you to view all the product attributes.
181181

182-
### HTTP Request ###
182+
### HTTP request ###
183183

184184
<div class="api-endpoint">
185185
<div class="endpoint-data">
@@ -258,11 +258,11 @@ woocommerce.get("products/attributes").parsed_response
258258
]
259259
```
260260

261-
## Update a Product Attribute ##
261+
## Update a product attribute ##
262262

263263
This API lets you make changes to a product attribute.
264264

265-
### HTTP Request ###
265+
### HTTP request ###
266266

267267
<div class="api-endpoint">
268268
<div class="endpoint-data">
@@ -341,11 +341,11 @@ woocommerce.put("products/attributes/1", data).parsed_response
341341
}
342342
```
343343

344-
## Delete a Product Attribute ##
344+
## Delete a product attribute ##
345345

346346
This API helps you delete a product attribute.
347347

348-
### HTTP Request ###
348+
### HTTP request ###
349349

350350
<div class="api-endpoint">
351351
<div class="endpoint-data">
@@ -406,17 +406,17 @@ woocommerce.delete("products/attributes/1", force: true).parsed_response
406406
}
407407
```
408408

409-
#### Available Parameters ####
409+
#### Available parameters ####
410410

411411
| Parameter | Type | Description |
412412
|-----------|--------|---------------------------------------------------------------|
413413
| `force` | string | Required to be `true`, as resource does not support trashing. |
414414

415-
## Create/Update/Delete Multiple Product Attributes ##
415+
## Batch update product attributes ##
416416

417417
This API helps you to batch create, update and delete multiple product attributes.
418418

419-
### HTTP Request ###
419+
### HTTP request ###
420420

421421
<div class="api-endpoint">
422422
<div class="endpoint-data">

0 commit comments

Comments
 (0)