Create Cart Metafield

This API endpoint is to create Cart Metafield

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Important

Only level 0 (admin) is able to create metafields.

You need to send the user_id, so the API knows which user is associated to the cart_id

Any metafield key that starts with the prefix extra_value_ will be subtracted or added to the total amount of the cart if the value is an integer or decimal.

If you need more information related to Metafields Extra attributes, please click on the link below.
Extra attributes (Metafields)

Path Params
string
required
Defaults to en
string
required
Defaults to demo
string
required
Defaults to v400
string
required
Body Params
string
Defaults to 2
string
Defaults to test_cart_metafield
string
Defaults to {"lat": -37.553636, "lng": 143.857875}
string
Defaults to json
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json