application_memberships

Updates an application membership

Updates an application membership

patch/application_memberships/{applicationMembershipId}

Request

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

Path parameters

applicationMembershipIdstring required

The ID of the resource.

Request body

Example request

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

Response

The updated application membership object

Changes

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