Commerce
Set collection metafields
Creates or updates custom fields by namespace and key. Needs collections.metafields: WooCommerce keeps custom fields on products only and answers 400 platform_not_supported.
put/v1/commerce/collections/{collectionId}/metafields
Path parameters
collectionIdstring required
Platform-native id.
Request body
Response
Metafields set
Changes
Changed in 2 of the 60 revisions of this API.2
- ○
removed the
platformenum value from the/response property for the response statusresponse-property-enum-value-removed
- ○
- ○
endpoint added
endpoint-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○