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

accountIdstring required

Response

Metafields set

Changes

Changed in 2 of the 60 revisions of this API.2