1
- # Product - Attributes #
1
+ # Product Attributes #
2
2
3
3
This section lists all API endpoints that can be used to create, edit or otherwise manipulate product attributes.
4
4
5
- ## Product Attribute Properties ##
5
+ ## Product attribute properties ##
6
6
7
7
| Attribute | Type | Description |
8
8
| ----------------| ---------| -----------------------------------------------------------------------------------------------------------|
@@ -13,11 +13,11 @@ This section lists all API endpoints that can be used to create, edit or otherwi
13
13
| ` order_by ` | string | Default sort order. Default is ` menu_order ` . Options: ` menu_order ` , ` name ` , ` name_num ` and ` id ` . |
14
14
| ` has_archives ` | boolean | Enable/Disable attribute archives. Default is ` false ` . |
15
15
16
- ## Create a Product Attribute ##
16
+ ## Create a product attribute ##
17
17
18
18
This API helps you to create a new product attribute.
19
19
20
- ### HTTP Request ###
20
+ ### HTTP request ###
21
21
22
22
<div class =" api-endpoint " >
23
23
<div class="endpoint-data">
@@ -116,7 +116,7 @@ woocommerce.post("products/attributes", data).parsed_response
116
116
}
117
117
```
118
118
119
- ## View a Product Attribute ##
119
+ ## Retrieve a product attribute ##
120
120
121
121
This API lets you retrieve and view a specific product attribute by ID.
122
122
@@ -175,11 +175,11 @@ woocommerce.get("products/attributes/1").parsed_response
175
175
}
176
176
```
177
177
178
- ## View List of Product Attributes ##
178
+ ## List all product attributes ##
179
179
180
180
This API helps you to view all the product attributes.
181
181
182
- ### HTTP Request ###
182
+ ### HTTP request ###
183
183
184
184
<div class =" api-endpoint " >
185
185
<div class="endpoint-data">
@@ -258,11 +258,11 @@ woocommerce.get("products/attributes").parsed_response
258
258
]
259
259
```
260
260
261
- ## Update a Product Attribute ##
261
+ ## Update a product attribute ##
262
262
263
263
This API lets you make changes to a product attribute.
264
264
265
- ### HTTP Request ###
265
+ ### HTTP request ###
266
266
267
267
<div class =" api-endpoint " >
268
268
<div class="endpoint-data">
@@ -341,11 +341,11 @@ woocommerce.put("products/attributes/1", data).parsed_response
341
341
}
342
342
```
343
343
344
- ## Delete a Product Attribute ##
344
+ ## Delete a product attribute ##
345
345
346
346
This API helps you delete a product attribute.
347
347
348
- ### HTTP Request ###
348
+ ### HTTP request ###
349
349
350
350
<div class =" api-endpoint " >
351
351
<div class="endpoint-data">
@@ -406,17 +406,17 @@ woocommerce.delete("products/attributes/1", force: true).parsed_response
406
406
}
407
407
```
408
408
409
- #### Available Parameters ####
409
+ #### Available parameters ####
410
410
411
411
| Parameter | Type | Description |
412
412
| -----------| --------| ---------------------------------------------------------------|
413
413
| ` force ` | string | Required to be ` true ` , as resource does not support trashing. |
414
414
415
- ## Create/Update/Delete Multiple Product Attributes ##
415
+ ## Batch update product attributes ##
416
416
417
417
This API helps you to batch create, update and delete multiple product attributes.
418
418
419
- ### HTTP Request ###
419
+ ### HTTP request ###
420
420
421
421
<div class =" api-endpoint " >
422
422
<div class="endpoint-data">
0 commit comments