1
- # Product - Shipping Classes #
1
+ # Product Shipping Classes #
2
2
3
3
This section lists all API endpoints that can be used to create, edit or otherwise manipulate product shipping classes.
4
4
5
- ## Product Shipping Class Properties ##
5
+ ## Shipping class properties ##
6
6
7
7
| Attribute | Type | Description |
8
8
| ---------------| ---------| ------------------------------------------------------------------------------------------|
@@ -12,11 +12,11 @@ This section lists all API endpoints that can be used to create, edit or otherwi
12
12
| ` description ` | string | HTML description of the resource. |
13
13
| ` count ` | integer | Number of published products for the resource. <i class =" label label-info " >read-only</i > |
14
14
15
- ## Create a Product Shipping Class ##
15
+ ## Create a shipping class ##
16
16
17
17
This API helps you to create a new product shipping class.
18
18
19
- ### HTTP Request ###
19
+ ### HTTP request ###
20
20
21
21
<div class =" api-endpoint " >
22
22
<div class="endpoint-data">
@@ -96,7 +96,7 @@ woocommerce.post("products/shipping_classes", data).parsed_response
96
96
}
97
97
```
98
98
99
- ## View a Product Shipping Class ##
99
+ ## Retrieve a shipping class ##
100
100
101
101
This API lets you retrieve a product shipping class by ID.
102
102
@@ -154,7 +154,7 @@ woocommerce.get("products/shipping_classes/32").parsed_response
154
154
}
155
155
```
156
156
157
- ## View List of Product Shipping Classes ##
157
+ ## List all shipping classes ##
158
158
159
159
This API lets you retrieve all product shipping classes.
160
160
@@ -233,7 +233,7 @@ woocommerce.get("products/shipping_classes").parsed_response
233
233
]
234
234
```
235
235
236
- #### Available Parameters ####
236
+ #### Available parameters ####
237
237
238
238
| Parameter | Type | Description |
239
239
| --------------| ---------| --------------------------------------------------------------------------------------------------------------------------------------------|
@@ -249,11 +249,11 @@ woocommerce.get("products/shipping_classes").parsed_response
249
249
| ` product ` | integer | Limit result set to resources assigned to a specific product. |
250
250
| ` slug ` | string | Limit result set to resources with a specific slug. |
251
251
252
- ## Update a Product Shipping Class ##
252
+ ## Update a shipping class ##
253
253
254
254
This API lets you make changes to a product shipping class.
255
255
256
- ### HTTP Request ###
256
+ ### HTTP request ###
257
257
258
258
<div class =" api-endpoint " >
259
259
<div class="endpoint-data">
@@ -331,11 +331,11 @@ woocommerce.put("products/shipping_classes/32", data).parsed_response
331
331
}
332
332
```
333
333
334
- ## Delete a Product Shipping Class ##
334
+ ## Delete a shipping class ##
335
335
336
336
This API helps you delete a product shipping class.
337
337
338
- ### HTTP Request ###
338
+ ### HTTP request ###
339
339
340
340
<div class =" api-endpoint " >
341
341
<div class="endpoint-data">
@@ -391,17 +391,17 @@ woocommerce.delete("products/shipping_classes/32", force: true).parsed_response
391
391
}
392
392
```
393
393
394
- #### Available Parameters ####
394
+ #### Available parameters ####
395
395
396
396
| Parameter | Type | Description |
397
397
| -----------| --------| ---------------------------------------------------------------|
398
398
| ` force ` | string | Required to be ` true ` , as resource does not support trashing. |
399
399
400
- ## Create/Update/Delete Multiple Product Shipping Classes ##
400
+ ## Batch update shipping classes ##
401
401
402
402
This API helps you to batch create, update and delete multiple product shipping classes.
403
403
404
- ### HTTP Request ###
404
+ ### HTTP request ###
405
405
406
406
<div class =" api-endpoint " >
407
407
<div class="endpoint-data">
0 commit comments