Create Cart Metafield
Create a cart Metafield.
If you create an order from a Cart, you can continue referencing the Cart Metafields even if you delete the original Cart. Use the cart_id field on the Order to construct the Cart Metafield endpoint.
Authentication
Path parameters
The ID of the Cart to which the transactions belong.
Headers
Request
Determines the visibility and writeability of the field by other API consumers.
The name of the field, for example: location_id, color.
The value of the field, for example: 1, blue.
Response
A Metafield object.