1
- # Product - Categories #
1
+ # Product Categories #
2
2
3
3
This section lists all API endpoints that can be used to create, edit or otherwise manipulate product categories.
4
4
5
- ## Product Category Properties ##
5
+ ## Product category properties ##
6
6
7
7
| Attribute | Type | Description |
8
8
| ---------------| ---------| -----------------------------------------------------------------------------------------------------------------|
@@ -16,11 +16,11 @@ This section lists all API endpoints that can be used to create, edit or otherwi
16
16
| ` menu_order ` | integer | Menu order, used to custom sort the resource. |
17
17
| ` count ` | integer | Number of published products for the resource. <i class =" label label-info " >read-only</i > |
18
18
19
- ## Create a Product Category ##
19
+ ## Create a product category ##
20
20
21
21
This API helps you to create a new product category.
22
22
23
- ### HTTP Request ###
23
+ ### HTTP request ###
24
24
25
25
<div class =" api-endpoint " >
26
26
<div class="endpoint-data">
@@ -104,7 +104,7 @@ woocommerce.post("products/categories", data).parsed_response
104
104
}
105
105
```
106
106
107
- ## View a Product Category ##
107
+ ## Retrieve a product category ##
108
108
109
109
This API lets you retrieve a product category by ID.
110
110
@@ -166,7 +166,7 @@ woocommerce.get("products/categories/9").parsed_response
166
166
}
167
167
```
168
168
169
- ## View List of Product Categories ##
169
+ ## List all product categories ##
170
170
171
171
This API lets you retrieve all product categories.
172
172
@@ -388,7 +388,7 @@ woocommerce.get("products/categories").parsed_response
388
388
]
389
389
```
390
390
391
- #### Available Parameters ####
391
+ #### Available parameters ####
392
392
393
393
| Parameter | Type | Description |
394
394
| --------------| ---------| --------------------------------------------------------------------------------------------------------------------------------------------|
@@ -405,11 +405,11 @@ woocommerce.get("products/categories").parsed_response
405
405
| ` product ` | integer | Limit result set to resources assigned to a specific product. |
406
406
| ` slug ` | string | Limit result set to resources with a specific slug. |
407
407
408
- ## Update a Product Category ##
408
+ ## Update a product category ##
409
409
410
410
This API lets you make changes to a product category.
411
411
412
- ### HTTP Request ###
412
+ ### HTTP request ###
413
413
414
414
<div class =" api-endpoint " >
415
415
<div class="endpoint-data">
@@ -501,11 +501,11 @@ woocommerce.put("products/categories/9", data).parsed_response
501
501
}
502
502
```
503
503
504
- ## Delete a Product Category ##
504
+ ## Delete a product category ##
505
505
506
506
This API helps you delete a product category.
507
507
508
- ### HTTP Request ###
508
+ ### HTTP request ###
509
509
510
510
<div class =" api-endpoint " >
511
511
<div class="endpoint-data">
@@ -565,17 +565,17 @@ woocommerce.delete("products/categories/9", force: true).parsed_response
565
565
}
566
566
```
567
567
568
- #### Available Parameters ####
568
+ #### Available parameters ####
569
569
570
570
| Parameter | Type | Description |
571
571
| -----------| --------| ---------------------------------------------------------------|
572
572
| ` force ` | string | Required to be ` true ` , as resource does not support trashing. |
573
573
574
- ## Create/Update/Delete Multiple Product Categories ##
574
+ ## Batch update product categories ##
575
575
576
576
This API helps you to batch create, update and delete multiple product categories.
577
577
578
- ### HTTP Request ###
578
+ ### HTTP request ###
579
579
580
580
<div class =" api-endpoint " >
581
581
<div class="endpoint-data">
0 commit comments