CredentialObject
- accountType: integer
_id the account that owns the credential
- annotationsType:Properties: 1
flags tracked on the credential. Omitted from the response when none are set.
- barcodesType: string
_supported the barcode formats available, from whichever record supplied
supports_barcode - channelType: integer
_id the channel the credential was issued through
- createdType: string
_at - customType: object
_data Properties: 1key/value pairs set on create, update, or
POST /credentials/actions/tag. Omitted from the response when empty. - eligibleType: integer
_channel _id the offer/channel pairing the credential was issued under, when the request supplied a
campaign_id - idType: integer
the credential's primary key
- identifierType: string
the scannable code printed or displayed to the member, and the value used to address this credential on the identifier-based endpoints
- locationType: string
_address the address of the credential's store
- lockedType: boolean
true while the credential is held for processing. Updates are rejected while locked.
- memberType: integer
_id the member the credential was issued to
- merchantType: integer
_id resolved from the credential's store; null when it has no store
- merchantType: string
_name resolved from the credential's store; null when it has no store
- offerType: array of integer
_ids the offers the credential is redeemable against
- offerType: string
_name the name of the credential's first offer
- processedType: stringFormat: date-time
_at when the credential was last processed downstream. Not set by the credential endpoints.
- redeemedType: stringFormat: date-time
_at when the credential was redeemed; null until then. Once set, the credential can no longer be updated.
- redeemingType: integer
_account _id the account the credential is redeemed against. Holds the same value as
account_idunless redemption is delegated to another account. - reusableType: boolean
whether the credential can be redeemed more than once. Always true for loyalty credentials. Must only be set to
truemanually if the credential type isofferor0 - storeType: integer
_id the store the credential is restricted to, when it is restricted
- supportsType: boolean
_barcode whether a barcode can be rendered for this credential, taken from the first offer that declares barcode support and falling back to the merchant, then the redeeming account
- typeType: "offer" or "loyalty"enum
offerfor a standard offer credential,loyaltyfor a loyalty credential. Credentials with no type recorded are reported asoffer. - updatedType: string
_at - urlType: string
the credential's distribution URL, when one was stored
- voidedType: stringFormat: date-time
_at when the credential was voided; null while it is still valid