Skip to content

Check Consent

You should use this endpoint to determine if an invitation should be created or not - Add invitation.

Before creating an invitation, call this endpoint to check if a consent has been given for the orderNumber.

GET /2.0/order_permissions.json

Query parameters

They should be passed as query parameters to the URL. (ex.: ?id=1&code=abc)

id int (required)

The unique webshop ID.

code string (required)

Your personal API code.

orderNumber string (required)

The order to check

Example response

    "has_consent": true