cart

cart.meta_data.set

Set metadata for a specific entity. Entities supported may differ across platforms. To get the list of supported entities, pass an invalid value in the <code>entity</code> parameter. The response will contain the list of entities supported by the specific platform. Usually this is data created by third-party plugins.

post/cart.meta_data.set.json

Request

  • Base URL: https://api.api2cart.com/v1.1
  • URL: https://api.api2cart.com/v1.1/cart.meta_data.set.json
  • Auth: API key in header x-api-key and API key in header x-store-key

Query parameters

entity_idstring required

Entity Id

keystring required

Key

valuestring required

Value

namespacestring required

Metafield namespace

entitystring

Entity

store_idstring

Store Id

lang_idstring

Language id

idempotency_keystring

A unique identifier associated with a specific request. Repeated requests with the same <strong>idempotency_key</strong> return a cached response without re-executing the business logic. <strong>Please note that the cache lifetime is 15 minutes.</strong>

Response

successful operation

return_codeinteger
return_messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.