application_memberships

Creates an application membership

Creates an application membership

post/application_memberships

Request

  • Base URL
    https://provisioning.commercelayer.io
  • URL
    https://provisioning.commercelayer.io/application_memberships
  • Auth
    HTTP bearer

Request body

Example request

{
  "data": {
    "attributes": {
      "filters": {
        "market_id_in": [
          202,
          203
        ]
      },
      "reference": "ANY-EXTERNAL-REFEFERNCE",
      "reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
      "metadata": {
        "foo": "bar"
      }
    },
    "relationships": {
      "api_credential": {
        "data": {
          "id": "XGZwpOSrWL"
        }
      },
      "membership": {
        "data": {
          "id": "XGZwpOSrWL"
        }
      },
      "membership_profile": {
        "data": {
          "id": "XGZwpOSrWL"
        }
      },
      "organization": {
        "data": {
          "id": "XGZwpOSrWL"
        }
      },
      "role": {
        "data": {
          "id": "XGZwpOSrWL"
        }
      }
    }
  }
}

Response

The created application membership object

Changes

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