POST:keys.json
Commerce APIPOST:keys.json

POST:keys.json

Description

Create one or multiple API keys.

You cannot give more permissions to API keys than you currently have.

See also: Authentication.

Permission bit: "keys.create"

Topic: API Keys

Query Parameters

shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of KeyCreate

[
  {
    "expires_at": "2014-09-04T12:23:34Z",
    "name": "unnamed",
    "permissions": [
      ""
    ],
    "role_ids": [
      ""
    ],
    "sales_channel_id": "sc_EQzGqWoY"
  }
]

Response Body

Array of Key

Response Body Type

Loading module