Loyalties

Mutation

updateLoyalty — Returns Outlet

Scopes Required: modify_loyalty

This is currently an experimental mutation, please get in contact with us before using it.

Arguments Type Description

id

ID!

The ID scalar type represents a unique identifier.

The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. The ID is mathematically universally unique across all types and Vendors and can be used as such.

loyalties

JSON

The JSON scalar type represents data that is stored in the JSON format as defined by ECMA-404.

We would highly suggest getting in contact with us before using any field that requests or returns JSON.

Example Mutation
mutation UpdateLoyalties {
    updateLoyalty {
        id,
        name,
        parent,
        deleted,
        logo
    }
}