Skip to content

Commit 7e31ee9

Browse files
Updated product categories schema
1 parent 19c512f commit 7e31ee9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The product categories API allows you to create, view, update, and delete indivi
2424
| `date_created` | date-time | The date the image was created, in the site's timezone. <i class="label label-info">read-only</i> |
2525
| `date_modified` | date-time | The date the image was last modified, in the site's timezone. <i class="label label-info">read-only</i> |
2626
| `src` | string | Image URL. In write-mode used to upload new images. |
27-
| `name` | string | Image name. |
27+
| `title` | string | Image name. |
2828
| `alt` | string | Image alternative text. |
2929

3030
## Create a product category ##

source/includes/wp-api-v2/_product-categories.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The product categories API allows you to create, view, update, and delete indivi
2626
| `date_modified` | date-time | The date the image was last modified, in the site's timezone. <i class="label label-info">read-only</i> |
2727
| `date_modified_gmt` | date-time | The date the image was last modified, as GMT. <i class="label label-info">read-only</i> |
2828
| `src` | string | Image URL. |
29-
| `name` | string | Image name. |
29+
| `title` | string | Image name. |
3030
| `alt` | string | Image alternative text. |
3131

3232
## Create a product category ##

0 commit comments

Comments
 (0)