API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

DiscountRedeemCodeBulkCreation object

Version unstable

Represents a bulk creation of discount redeem codes.

Required access

Apps must have read_discounts access scope.

Connections

  • The codes associated with the bulk creation.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • codesCount (Int!)

    The number of codes to create.

  • createdAt (DateTime!)

    The date and time when the bulk creation was created.

  • discountCode (DiscountCodeNode)

    The code discount associated with the created codes.

  • done (Boolean!)

    Whether the bulk creation is still queued (false) or has been run (true).

  • failedCount (Int!)

    The number of codes that weren't created successfully.

  • id (ID!)

    Globally unique identifier.

  • importedCount (Int!)

    The number of codes created successfully.

Types that return DiscountRedeemCodeBulkCreation

Implements

Version 2021-07 (Release candidate)

Represents a bulk creation of discount redeem codes.

Required access

Apps must have read_discounts access scope.

Connections

  • The codes associated with the bulk creation.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • codesCount (Int!)

    The number of codes to create.

  • createdAt (DateTime!)

    The date and time when the bulk creation was created.

  • discountCode (DiscountCodeNode)

    The code discount associated with the created codes.

  • done (Boolean!)

    Whether the bulk creation is still queued (false) or has been run (true).

  • failedCount (Int!)

    The number of codes that weren't created successfully.

  • id (ID!)

    Globally unique identifier.

  • importedCount (Int!)

    The number of codes created successfully.

Types that return DiscountRedeemCodeBulkCreation

Implements

Version 2021-04 (Latest)

Represents a bulk creation of discount redeem codes.

Required access

Apps must have read_discounts access scope.

Connections

  • The codes associated with the bulk creation.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • codesCount (Int!)

    The number of codes to create.

  • createdAt (DateTime!)

    The date and time when the bulk creation was created.

  • discountCode (DiscountCodeNode)

    The code discount associated with the created codes.

  • done (Boolean!)

    Whether the bulk creation is still queued (false) or has been run (true).

  • failedCount (Int!)

    The number of codes that weren't created successfully.

  • id (ID!)

    Globally unique identifier.

  • importedCount (Int!)

    The number of codes created successfully.

Types that return DiscountRedeemCodeBulkCreation

Implements