younifyd
Menu

Create A Custom API Entry

Create a Custom API Entry

POST/v2/settings/extensions/custom-apis/{custom-api-id}/entries

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Create A Custom API Entry action (under Commerce Extensions).
  3. Fill in the fields below, then reference the result from later steps as {{createACustomApiEntry.response.data}}.

Request

Path parameters

custom-api-idstring (uuid)required

The unique identifier of the Custom API.

Response

Returns 201 with an object. Read it in later steps with {{createACustomApiEntry.response.data.<field>}}.

dataobject
idstring (uuid)

The unique identifier for the Custom API Entry.

typestring

Specifies the type of the resource object, use the `api_type` of the [Custom API](/docs/api/commerce-extensions/create-a-custom-api) for Custom API Entry.

linksobject1 fields
metaany
json
{
  "data": {
    "id": "00000000-0000-0000-0000-000000000000",
    "type": "string",
    "links": {
      "self": "string"
    },
    "meta": null
  }
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Create A Custom API Entry — Elastic Path — Documentation