GET /carts/{cart_id}/metafields/{metafield_id}

Gets a cart metafield.

Servers

Path parameters

Name Type Required Description
cart_id String Yes

The ID of the Cart to which the transactions belong.

metafield_id Integer Yes

The unique ID of the subject Metafield.

Request headers

Name Type Required Description
Accept String Yes

The MIME type of the response body.

Default value: "application/json"

Query parameters

Name Type Required Description
page Integer No

Specifies the page number in a limited (paginated) list of products.

limit Integer No

Controls the number of items per page in a limited (paginated) list of products.

namespace String No

Filter based on a metafieldʼs namespaces.

direction String No

Sort direction. Acceptable values are: asc, desc.

Valid values:

  • "desc"
  • "asc"
key String No

Filter based on a metafieldʼs key.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.