diff --git a/source/includes/wp-api-v3/_product-custom-fields.md b/source/includes/wp-api-v3/_product-custom-fields.md new file mode 100644 index 0000000..927e7eb --- /dev/null +++ b/source/includes/wp-api-v3/_product-custom-fields.md @@ -0,0 +1,64 @@ +# Product custom fields # + +The product custom fields API allows you to view the custom field names that have been recorded. + +## Custom fields available parameters ## + +| Parameter | Type | Description | +| ---------- | -------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `context` | string | Scope under which the request is made; determines fields present in response. Options: `view` and `edit`. Default is `view`. | +| `page` | integer | Current page of the collection. Default is `1`. | +| `per_page` | integer | Maximum number of items to be returned in result set. Default is `10`. | +| `search` | string | Limit results to those matching a string. | +| `order` | string | Order sort attribute ascending or descending. Options: `asc` and `desc`. Default is `desc`. | + +## Retrieve product custom field names ## + +This API lets you retrieve filtered custom field names. + +