ENUM

CreateLoyaltyBadgeResponseCode

A code indicating why the create call failed, if it did.

link GraphQL Schema definition

1enum CreateLoyaltyBadgeResponseCode {
2
3# Only eligible users can create a badge.
4ERR_INVALID_USER
5
6# The badge image 1x submitted was not valid.
7ERR_INVALID_BADGE_IMAGE_1X_ID
8
9# The badge image 2x submitted was not valid.
10ERR_INVALID_BADGE_IMAGE_2X_ID
11
12# The badge image 4x submitted was not valid.
13ERR_INVALID_BADGE_IMAGE_4X_ID
14
15# The badge tenure submitted was not valid.
16ERR_INVALID_BADGE_REQUIRED_TENURE_MONTHS
17
18# Badge already exists for this tenure.
19ERR_BADGE_EXISTS
20
21# User is timed out of badge creation.
22ERR_BADGE_TIMEOUT
23
24# Unknown error occurred, most likely a server error.
25ERR_UNKNOWN
26}