Outlets

Mutation

updateOutlet — Returns Outlet

Scopes Required: modify_loyalty

Arguments Type Description

id

ID!

The ID of the Outlet to update

name

String

The name of the Outlet

loyaltyEnabled

Boolean

Whether loyalty is enabled or not

loyaltyName

String

The name of the loyalty program. This will only be set if loyalty is enabled

loyaltyEarnRate

Float

The general earn rate (in points per dollar) for all products in the store (can be overridden by classification). This will only be set if loyalty is enabled

loyaltyRedeemRate

Float

The general redeem rate (in points per dollar) for all products in the store (can be overridden by classification). This will only be set if loyalty is enabled

hasKitchenScreen

Boolean

Whether the outlet has a kitchen screen

logo

URL

The url of the logo image for the outlet

businessNumber

String

The business number of the Outlet

contact

ContactInput

The contact details of the outlet

ticketingPriceSetId

ID

The ID of the primary ticket price set for the outlet

Example Mutation
mutation UpdateOutlet($id: ID!) {
    updateOutlet(id: $id) {
        id,
        name,
        parent,
        deleted,
        logo
    }
}

# Example variables
{
    "id": "<ID>"
}