openapi: 3.0.1
info:
  title: Fourthwall APIs
  version: v1.0
  description: >
    # How to get credentials?


    We are excited to offer you access to our Open API, allowing you to
    integrate our services seamlessly with your applications.


    However, kindly note that the creation of API credentials is reserved for
    users with the **SUPER ADMIN** role for security reasons.


    To obtain the required credentials, please follow these steps:

    1. Log in to your shop dashboard with your SUPER ADMIN account.

    2. In the left panel, navigate to the "Settings" section.

    3. Click on the "For Developers" tab.


    **Creating API User**


    If API credentials haven't been generated yet, you will find a "Create API
    User" button under the "Open API" section. Click on it, and shortly after,
    the Username and Password for the Open API User will be provided.


    **Important Security Note**


    Keep your API credentials confidential and do not share them with
    unauthorized personnel. These credentials grant access to sensitive data and
    actions within our system. Always use HTTPS/SSL for encrypted communication
    when making API requests.


    # How to authorize with credentials?


    After Open API User was created, you can authorize your request by using
    **Basic Access Authentication**.


    This can be achieved by constructing an **Authorization** header with the
    format **Basic <base64-encoded-username-and-password>**. The base64-encoded
    credentials should be passed with each request to gain access to the
    protected resources.


    Example for Javascript:


    ```javascript

    const username = "your_username";

    const password = "your_password";


    // Combine username and password with a colon

    const combinedCredentials = `${username}:${password}`;


    // Encode the combined credentials to Base64

    const base64Credentials = btoa(combinedCredentials);


    const apiUrl =
    "http://api.fourthwall.com/open-api/v1/order/{YOUR_ORDER_ID}";

    const requestOptions = {
      method: "GET",
      headers: {
        "Authorization": `Basic ${base64Credentials}`,
        "Content-Type": "application/json"
      }
    };


    fetch(apiUrl, requestOptions)
      .then(response => response.json()) // Parse the JSON response directly
      .then(data => {
      // Handle the API response data here
      console.log(data);
    })
      .catch(error => {
      // Handle errors
      console.error("Error:", error);
    });

    ```


    # Rate limiting policy


    To ensure fair usage and maintain optimal system performance, we have
    implemented rate limiting for API requests. This means that each user is
    allowed a maximum of **100 requests** within a **10-second rolling window**.


    **What it means for you:**


    - You can make up to 100 requests within any 10-second period.

    - If you exceed this limit, any additional requests will be delayed until
    the 10-second window is reset.

     Please plan your API usage accordingly to avoid interruptions and ensure the smooth functioning of our services.

    # Webhooks


    Need to check webhooks? The [documentation](/) provides comprehensive
    guidance.


    # Products RSS feed


    If you're just looking to read public product information, you do not need
    to use Open API. All sites publish a Merchant Center Feed under an RSS
    address:


    ```

    {$shop_url}/.well-known/merchant-center/rss.xml

    ```


    **Example:** for [https://shop.fourthwall.com](https://shop.fourthwall.com)
    the RSS feed url would be
    [https://shop.fourthwall.com/.well-known/merchant-center/rss.xml](https://shop.fourthwall.com/.well-known/merchant-center/rss.xml)
servers:
  - url: https://api.fourthwall.com
    description: Generated server url
paths:
  /open-api/v1.0/streaming/start:
    put:
      tags:
        - Streaming
      summary: Set streaming status to started
      description: Sets streaming status to started for specified services
      operationId: streamingStarted
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/com.fourthwall.app.openapi.StreamingStartedRequest
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.StreamingStatusV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/streaming/end:
    put:
      tags:
        - Streaming
      summary: Set streaming status to ended
      description: Sets streaming status to ended for specified services
      operationId: streamingEnded
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/com.fourthwall.app.openapi.StreamingEndedRequest
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.StreamingStatusV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/products/{productId}/availability:
    put:
      tags:
        - Products (offers)
      summary: Update product (offer) availability by id
      description: Updates a product (offer) availability
      operationId: updateOffer
      parameters:
        - name: productId
          in: path
          required: true
          schema:
            type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/com.fourthwall.app.openapi.OpenApiProductEndpoint$UpdateOfferAvailabilityV1Request
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferFullV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - oauth:
            - offer:write
        - basicAuth: []
  /open-api/v1.0/gifting/draw/{id}/finish:
    put:
      tags:
        - Gifting
      summary: Finish draw
      description: Finish draw and select winners
      operationId: drawFinished
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/com.fourthwall.app.openapi.DrawFinishedRequest
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/com.fourthwall.openapi.model.GiftDraftV1'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/giveaway-links:
    post:
      tags:
        - Giveaway links
      summary: Create giveaway links
      description: Creates a new package with specified number of giveaway links
      externalDocs:
        url: >-
          https://docs.fourthwall.com/open-api/#tag/Giveaway-links/operation/createGiveawayLinks
      operationId: createGiveawayLinks
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/com.fourthwall.app.openapi.CreateGiveawayLinksV1Request
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.GiveawayLinksV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/fulfillments:
    post:
      tags:
        - 'BETA: Fulfillment'
      summary: Create a fulfillment for an order
      description: >-
        Creates a fulfillment with a shipment tracker for provided order items.
        When trackers change their state, order.status will change to
        IN_PRODUCTION, PARTIALLY_IN_PRODUCTION, PARTIALLY_SHIPPED, SHIPPED
        depending on the shipping tracker info. Order updated webhooks will be
        triggered.
      externalDocs:
        url: >-
          https://docs.fourthwall.com/open-api/#tag/Fulfillment/operation/createFulfillment
      operationId: createFulfillment
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/com.fourthwall.app.openapi.FulfillmentRequest
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.app.openapi.FulfillmentResponse
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/thank-yous/{thankYouId}:
    get:
      tags:
        - Thank yous
      summary: Get Thank You by id
      description: Get Thank You details
      externalDocs:
        url: >-
          https://docs.fourthwall.com/open-api/#tag/Thank-yous/operation/getGiftPurchaseById
      operationId: getGiftPurchaseById
      parameters:
        - name: thankYouId
          in: path
          required: true
          schema:
            type: string
          example: ty_EdJvIXu3SEiXe_QkPavHSA
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/com.fourthwall.openapi.model.ThankYouV1'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/streaming:
    get:
      tags:
        - Streaming
      summary: Get streaming status
      description: Returns streaming status for all services
      operationId: streamingStatus
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.StreamingStatusV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/products:
    get:
      tags:
        - Products (offers)
      summary: Get all products (offers)
      description: Returns all products with pagination
      externalDocs:
        url: >-
          https://docs.fourthwall.com/open-api/#tag/Products-(offers)/operation/getProducts
      operationId: getProducts
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            format: int32
            default: 0
          example: 5
        - name: size
          in: query
          required: false
          schema:
            type: integer
            format: int32
            default: 20
          example: 5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.app.openapi.model.OpenApiPageResponseCom.fourthwall.openapi.model.OfferAbstractV1$OfferFullV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - oauth:
            - offer:read
        - basicAuth: []
  /open-api/v1.0/products/{productId}:
    get:
      tags:
        - Products (offers)
      summary: Get product (offer) by id
      description: Returns product by id
      externalDocs:
        url: >-
          https://docs.fourthwall.com/open-api/#tag/Products-(offers)/operation/getProductByProductId
      operationId: getProductByProductId
      parameters:
        - name: productId
          in: path
          required: true
          schema:
            type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferFullV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - oauth:
            - offer:read
        - basicAuth: []
  /open-api/v1.0/order:
    get:
      tags:
        - Orders
      summary: Get all orders
      description: Returns all orders with pagination
      externalDocs:
        url: https://docs.fourthwall.com/open-api/#tag/Orders/operation/getOrders
      operationId: getOrders
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            format: int32
            default: 0
          example: 5
        - name: size
          in: query
          required: false
          schema:
            type: integer
            format: int32
            default: 20
          example: 5
        - name: createdAt[gt]
          in: query
          required: false
          schema:
            type: string
            format: date-time
          example: '2020-08-13T09:05:36.939Z'
        - name: createdAt[lt]
          in: query
          required: false
          schema:
            type: string
            format: date-time
          example: '2020-08-13T09:05:36.939Z'
        - name: updatedAt[gt]
          in: query
          required: false
          schema:
            type: string
            format: date-time
          example: '2020-08-13T09:05:36.939Z'
        - name: updatedAt[lt]
          in: query
          required: false
          schema:
            type: string
            format: date-time
          example: '2020-08-13T09:05:36.939Z'
        - name: status
          in: query
          required: false
          schema:
            uniqueItems: true
            type: array
            items:
              type: string
              enum:
                - CONFIRMED
                - PARTIALLY_IN_PRODUCTION
                - IN_PRODUCTION
                - PARTIALLY_SHIPPED
                - SHIPPED
                - PARTIALLY_DELIVERED
                - DELIVERED
                - CANCELLED
                - COMPLETED
          example: CONFIRMED
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.app.openapi.model.OpenApiPageResponseCom.fourthwall.openapi.model.OrderV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/order/{orderId}:
    get:
      tags:
        - Orders
      summary: Get order by id
      description: Returns order by id
      externalDocs:
        url: >-
          https://docs.fourthwall.com/open-api/#tag/Orders/operation/getOrderByOrderId
      operationId: getOrderByOrderId
      parameters:
        - name: orderId
          in: path
          required: true
          schema:
            type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/com.fourthwall.openapi.model.OrderV1'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/giveaway-links/packages:
    get:
      tags:
        - Giveaway links
      summary: Get all giveaway packages
      description: Returns all packages with giveaway links
      externalDocs:
        url: >-
          https://docs.fourthwall.com/open-api/#tag/Giveaway-links/operation/getAllGiveawayLinksPackages
      operationId: getAllGiveawayLinksPackages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.GiveawayPackagesV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/giveaway-links/packages/{packageId}:
    get:
      tags:
        - Giveaway links
      summary: Get giveaway links
      description: Returns all giveaway links for packageId
      externalDocs:
        url: >-
          https://docs.fourthwall.com/open-api/#tag/Giveaway-links/operation/getGiveawayLinksByPackageId
      operationId: getGiveawayLinksByPackageId
      parameters:
        - name: packageId
          in: path
          required: true
          schema:
            type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.GiveawayLinksV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/gifting/draw/{id}:
    get:
      tags:
        - Gifting
      summary: Get draw
      description: Get draw details
      operationId: getDraw
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/com.fourthwall.openapi.model.GiftDraftV1'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/gift-purchase/{giftPurchaseId}:
    get:
      tags:
        - Twitch gift purchases
      summary: Get gift purchase by id
      description: Returns gift purchase details by id
      externalDocs:
        url: >-
          https://docs.fourthwall.com/open-api/#tag/Twitch-gift-purchases/operation/getGiftPurchaseById
      operationId: getGiftPurchaseById_1
      parameters:
        - name: giftPurchaseId
          in: path
          required: true
          schema:
            type: string
          example: giv_EdJvIXu3SEiXe_QkPavHSA
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.GiftPurchaseV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/donations:
    get:
      tags:
        - Donations
      summary: Get all donations
      description: Returns all donations with pagination
      externalDocs:
        url: >-
          https://docs.fourthwall.com/open-api/#tag/Donations/operation/getDonations
      operationId: getDonations
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            format: int32
            default: 0
          example: 5
        - name: size
          in: query
          required: false
          schema:
            type: integer
            format: int32
            default: 20
          example: 5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/com.fourthwall.app.openapi.model.OpenApiPageResponseCom.fourthwall.openapi.model.DonationV1
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
  /open-api/v1.0/donations/{donationId}:
    get:
      tags:
        - Donations
      summary: Get donation by id
      description: Returns donation by id
      externalDocs:
        url: >-
          https://docs.fourthwall.com/open-api/#tag/Donations/operation/getDonationById
      operationId: getDonationById
      parameters:
        - name: donationId
          in: path
          required: true
          schema:
            type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/com.fourthwall.openapi.model.DonationV1'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                type: object
      security:
        - basicAuth: []
components:
  schemas:
    com.fourthwall.app.openapi.StreamingStartedRequest:
      required:
        - services
      type: object
      properties:
        services:
          type: array
          items:
            oneOf:
              - $ref: >-
                  #/components/schemas/com.fourthwall.app.openapi.StreamingStartedRequest$Service$Twitch
    com.fourthwall.app.openapi.StreamingStartedRequest$Service$Twitch:
      required:
        - broadcasterId
        - broadcasterLogin
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - TWITCH
        broadcasterId:
          type: string
        broadcasterLogin:
          type: string
        thumbnailUrl:
          type: string
    com.fourthwall.openapi.model.StreamingStatusV1:
      required:
        - services
        - shopId
      type: object
      properties:
        shopId:
          type: string
        services:
          type: array
          items:
            oneOf:
              - $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.StreamingStatusV1$Service$Twitch
    com.fourthwall.openapi.model.StreamingStatusV1$Service$Twitch:
      required:
        - status
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - TWITCH
        status:
          type: string
          enum:
            - ONLINE
            - OFFLINE
        broadcasterId:
          type: string
        broadcasterLogin:
          type: string
        thumbnailUrl:
          type: string
    com.fourthwall.app.openapi.StreamingEndedRequest:
      required:
        - services
      type: object
      properties:
        services:
          type: array
          items:
            type: string
            enum:
              - TWITCH
    com.fourthwall.app.openapi.OpenApiProductEndpoint$UpdateOfferAvailabilityV1Request:
      required:
        - available
      type: object
      properties:
        available:
          type: boolean
    Money:
      required:
        - currency
        - value
      type: object
      properties:
        value:
          minimum: 0
          type: number
          example: 10
        currency:
          type: string
          example: USD
    com.fourthwall.openapi.model.Image:
      required:
        - height
        - id
        - url
        - width
      type: object
      properties:
        id:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        url:
          type: string
          example: https://fourthwall.com/image.png
        width:
          type: integer
          format: int32
          example: 800
        height:
          type: integer
          format: int32
          example: 600
    com.fourthwall.openapi.model.OfferAbstractV1$OfferAccessV1$Archived:
      required:
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - ARCHIVED
    com.fourthwall.openapi.model.OfferAbstractV1$OfferAccessV1$Hidden:
      required:
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - HIDDEN
    com.fourthwall.openapi.model.OfferAbstractV1$OfferAccessV1$Public:
      required:
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - PUBLIC
    com.fourthwall.openapi.model.OfferAbstractV1$OfferFullV1:
      required:
        - access
        - createdAt
        - description
        - id
        - images
        - name
        - slug
        - state
        - updatedAt
        - variants
      type: object
      properties:
        id:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        name:
          type: string
          example: My t-shirt
        slug:
          type: string
          example: my-t-shirt
        description:
          type: string
          example: My t-shirt description
        state:
          oneOf:
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferStateV1$Available
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferStateV1$SoldOut
        access:
          oneOf:
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferAccessV1$Public
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferAccessV1$Hidden
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferAccessV1$Archived
        images:
          type: array
          items:
            $ref: '#/components/schemas/com.fourthwall.openapi.model.Image'
        variants:
          type: array
          items:
            $ref: >-
              #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$OfferVariantV1
        createdAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
        updatedAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
    com.fourthwall.openapi.model.OfferAbstractV1$OfferStateV1$Available:
      required:
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - AVAILABLE
    com.fourthwall.openapi.model.OfferAbstractV1$OfferStateV1$SoldOut:
      required:
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - SOLD_OUT
    com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Attributes:
      required:
        - description
      type: object
      properties:
        description:
          type: string
          example: Black, L
        color:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Attributes$Color
        size:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Attributes$Size
    com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Attributes$Color:
      required:
        - name
        - swatch
      type: object
      properties:
        name:
          type: string
          example: Black
        swatch:
          type: string
          example: '#000000'
    com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Attributes$Size:
      required:
        - name
      type: object
      properties:
        name:
          type: string
          example: L
    com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Dimensions:
      required:
        - height
        - length
        - unit
        - width
      type: object
      properties:
        length:
          type: number
          example: 1
        width:
          type: number
          example: 2
        height:
          type: number
          example: 3
        unit:
          type: string
          example: cm
    com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$OfferVariantV1:
      required:
        - attributes
        - dimensions
        - id
        - images
        - name
        - sku
        - stock
        - unitPrice
        - weight
      type: object
      properties:
        id:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        name:
          type: string
          example: My t-shirt - Black, L
        sku:
          type: string
          example: WDEK-DRE200L
        unitPrice:
          $ref: '#/components/schemas/Money'
        attributes:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Attributes
        stock:
          oneOf:
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Stock$Unlimited
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Stock$Limited
        weight:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Weight
        dimensions:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Dimensions
        images:
          type: array
          items:
            $ref: '#/components/schemas/com.fourthwall.openapi.model.Image'
    com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Stock$Limited:
      required:
        - inStock
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - LIMITED
        inStock:
          type: integer
          format: int32
          example: 5
    com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Stock$Unlimited:
      required:
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - UNLIMITED
    com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Weight:
      required:
        - unit
        - value
      type: object
      properties:
        value:
          type: number
          example: 1
        unit:
          type: string
          example: kg
    com.fourthwall.app.openapi.DrawFinishedRequest:
      required:
        - participants
      type: object
      properties:
        participants:
          type: array
          items:
            oneOf:
              - $ref: >-
                  #/components/schemas/com.fourthwall.app.openapi.DrawFinishedRequest$Participant$Twitch
    com.fourthwall.app.openapi.DrawFinishedRequest$Participant$Twitch:
      required:
        - service
        - userId
        - userName
      type: object
      properties:
        service:
          type: string
          enum:
            - TWITCH
        userId:
          type: string
        userName:
          type: string
    com.fourthwall.openapi.model.GiftDraftV1:
      required:
        - amounts
        - createdAt
        - durationSeconds
        - email
        - gifts
        - giveawayFriendlyId
        - giveawayId
        - id
        - offer
        - shopId
        - type
      type: object
      properties:
        id:
          type: string
          example: gdr_EdJvIXu3SEiXe_QkPavHSA
        type:
          type: string
          enum:
            - INITIAL
            - REDO
        giveawayId:
          type: string
          example: giv_EdJvIXu3SEiXe_QkPavHSA
        giveawayFriendlyId:
          type: string
          example: D3XZFWPP
        shopId:
          type: string
          example: sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb
        offer:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferGiftPurchaseV1
        amounts:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.GiftDraftV1$Amounts
        email:
          type: string
          example: supporter@fourthwall.com
        username:
          type: string
          example: Johnny123
        message:
          type: string
          example: Sample message
        gifts:
          type: array
          items:
            $ref: '#/components/schemas/com.fourthwall.openapi.model.GiftDraftV1$Gift'
        createdAt:
          type: string
          format: date-time
        durationSeconds:
          type: integer
          format: int64
    com.fourthwall.openapi.model.GiftDraftV1$Amounts:
      required:
        - subtotal
        - total
      type: object
      properties:
        subtotal:
          $ref: '#/components/schemas/Money'
        total:
          $ref: '#/components/schemas/Money'
    com.fourthwall.openapi.model.GiftDraftV1$Gift:
      required:
        - id
      type: object
      properties:
        id:
          type: string
    com.fourthwall.openapi.model.OfferAbstractV1$OfferGiftPurchaseV1:
      required:
        - description
        - id
        - name
        - slug
      type: object
      properties:
        id:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        name:
          type: string
          example: My t-shirt
        slug:
          type: string
          example: my-t-shirt
        description:
          type: string
          example: My t-shirt description
        primaryImage:
          $ref: '#/components/schemas/com.fourthwall.openapi.model.Image'
    com.fourthwall.app.openapi.CreateGiveawayLinksV1Request:
      required:
        - number
        - productId
      type: object
      properties:
        productId:
          type: string
          format: uuid
        number:
          type: integer
          format: int32
    com.fourthwall.openapi.model.GiveawayLinksV1:
      required:
        - giveawayLinks
        - packageId
      type: object
      properties:
        packageId:
          type: string
          example: gpg_EdJvIXu3SEiXe_QkPavHSA
        giveawayLinks:
          type: array
          items:
            oneOf:
              - $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.GiveawayLinksV1$GiveawayLinkV1$Available
              - $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.GiveawayLinksV1$GiveawayLinkV1$Cancelled
              - $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.GiveawayLinksV1$GiveawayLinkV1$Redeemed
    com.fourthwall.openapi.model.GiveawayLinksV1$GiveawayLinkV1$Available:
      required:
        - createdAt
        - id
        - link
        - productId
        - status
      type: object
      properties:
        status:
          type: string
          enum:
            - AVAILABLE
        id:
          type: string
          example: gft_EdJvIXu3SEiXe_QkPavHSA
        link:
          type: string
        productId:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        createdAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
    com.fourthwall.openapi.model.GiveawayLinksV1$GiveawayLinkV1$Cancelled:
      required:
        - cancelledAt
        - createdAt
        - id
        - link
        - productId
        - status
      type: object
      properties:
        status:
          type: string
          enum:
            - CANCELLED
        id:
          type: string
          example: gft_EdJvIXu3SEiXe_QkPavHSA
        link:
          type: string
        productId:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        createdAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
        cancelledAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
    com.fourthwall.openapi.model.GiveawayLinksV1$GiveawayLinkV1$Redeemed:
      required:
        - createdAt
        - id
        - link
        - productId
        - redeemedAt
        - status
      type: object
      properties:
        status:
          type: string
          enum:
            - REDEEMED
        id:
          type: string
          example: gft_EdJvIXu3SEiXe_QkPavHSA
        link:
          type: string
        productId:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        createdAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
        redeemedAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
    com.fourthwall.app.openapi.FulfillmentItem:
      required:
        - quantity
        - variantId
      type: object
      properties:
        variantId:
          type: string
          format: uuid
        quantity:
          minimum: 1
          type: integer
          format: int32
    com.fourthwall.app.openapi.FulfillmentRequest:
      required:
        - items
        - orderId
        - shippingLabel
      type: object
      properties:
        orderId:
          type: string
          format: uuid
        items:
          type: array
          items:
            $ref: '#/components/schemas/com.fourthwall.app.openapi.FulfillmentItem'
        shippingLabel:
          $ref: '#/components/schemas/com.fourthwall.app.openapi.ShippingLabel'
    com.fourthwall.app.openapi.ShippingLabel:
      required:
        - trackingCompany
        - trackingNumber
      type: object
      properties:
        trackingNumber:
          type: string
        trackingCompany:
          type: string
          example: USPS
    com.fourthwall.app.openapi.FulfillmentResponse:
      required:
        - fulfillmentId
      type: object
      properties:
        fulfillmentId:
          type: string
    com.fourthwall.openapi.model.ThankYouContribution$Donation:
      required:
        - id
        - shopId
        - supporter
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - DONATION
        id:
          type: string
          example: don_Kpcjx4HIQ1e4bTIOjX9CsA
        shopId:
          type: string
          example: sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb
        supporter:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.ThankYouContribution$Supporter
    com.fourthwall.openapi.model.ThankYouContribution$GiftPurchase:
      required:
        - id
        - shopId
        - supporter
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - GIFT_PURCHASE
        id:
          type: string
          example: giv_EdJvIXu3SEiXe_QkPavHSA
        shopId:
          type: string
          example: sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb
        supporter:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.ThankYouContribution$Supporter
    com.fourthwall.openapi.model.ThankYouContribution$Order:
      required:
        - id
        - shopId
        - supporter
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - ORDER
        id:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        shopId:
          type: string
          example: sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb
        supporter:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.ThankYouContribution$Supporter
    com.fourthwall.openapi.model.ThankYouContribution$Supporter:
      required:
        - email
      type: object
      properties:
        email:
          type: string
          example: supporter@fourthwall.com
        username:
          type: string
          example: Johnny123
        message:
          type: string
          example: Sample message
    com.fourthwall.openapi.model.ThankYouV1:
      required:
        - contribution
        - id
        - mediaUrl
      type: object
      properties:
        id:
          type: string
          example: ty_EdJvIXu3SEiXe_QkPavHSA
        mediaUrl:
          type: string
          example: https://fourthwall.com/thankyou/ty_EdJvIXu3SEiXe_QkPavHSA
        contribution:
          oneOf:
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.ThankYouContribution$Order
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.ThankYouContribution$Donation
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.ThankYouContribution$GiftPurchase
    com.fourthwall.app.openapi.model.OpenApiPageResponseCom.fourthwall.openapi.model.OfferAbstractV1$OfferFullV1:
      required:
        - results
      type: object
      properties:
        results:
          type: array
          items:
            $ref: >-
              #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferFullV1
    com.fourthwall.app.openapi.model.OpenApiPageResponseCom.fourthwall.openapi.model.OrderV1:
      required:
        - results
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/com.fourthwall.openapi.model.OrderV1'
    com.fourthwall.openapi.model.Address:
      required:
        - address1
        - city
        - country
        - name
        - state
      type: object
      properties:
        name:
          type: string
          example: Joe Doe
        address1:
          type: string
          example: Main Street 1
        address2:
          type: string
        city:
          type: string
          example: San Francisco
        state:
          type: string
          example: CA
        country:
          type: string
          example: US
        zip:
          type: string
          example: '12345'
        phone:
          type: string
          example: '123456789'
    com.fourthwall.openapi.model.OfferAbstractV1$OfferOrderV1:
      required:
        - description
        - id
        - name
        - slug
        - variant
      type: object
      properties:
        id:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        name:
          type: string
          example: My t-shirt
        slug:
          type: string
          example: my-t-shirt
        description:
          type: string
          example: My t-shirt description
        primaryImage:
          $ref: '#/components/schemas/com.fourthwall.openapi.model.Image'
        variant:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$OfferVariantWithQuantityV1
    com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$OfferVariantWithQuantityV1:
      required:
        - attributes
        - dimensions
        - id
        - name
        - price
        - quantity
        - sku
        - unitPrice
        - weight
      type: object
      properties:
        id:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        name:
          type: string
          example: My t-shirt - Black, L
        sku:
          type: string
          example: WDEK-DRE200L
        unitPrice:
          $ref: '#/components/schemas/Money'
        attributes:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Attributes
        quantity:
          type: integer
          format: int32
          example: 5
        price:
          $ref: '#/components/schemas/Money'
        weight:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Weight
        dimensions:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferVariantAbstractV1$Dimensions
    com.fourthwall.openapi.model.OrderV1:
      required:
        - amounts
        - checkoutId
        - createdAt
        - email
        - emailMarketingOptIn
        - friendlyId
        - id
        - message
        - offers
        - shopId
        - source
        - status
        - updatedAt
      type: object
      properties:
        id:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        shopId:
          type: string
          example: sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb
        friendlyId:
          type: string
          example: D3XZFWPP
        checkoutId:
          type: string
          example: ch_BV44UYrXQA2T_Xcf1288tw
        promotionId:
          type: string
          example: prm_EdJvIXu3SEiXe_QkPavHSA
        status:
          type: string
          enum:
            - CONFIRMED
            - PARTIALLY_IN_PRODUCTION
            - IN_PRODUCTION
            - PARTIALLY_SHIPPED
            - SHIPPED
            - PARTIALLY_DELIVERED
            - DELIVERED
            - CANCELLED
            - COMPLETED
        email:
          type: string
          example: supporter@fourthwall.com
        emailMarketingOptIn:
          type: boolean
        username:
          type: string
          example: Johnny123
        message:
          type: string
          example: Sample message
        amounts:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OrderV1$OrderAmounts
        billing:
          $ref: '#/components/schemas/com.fourthwall.openapi.model.OrderV1$Billing'
        shipping:
          $ref: '#/components/schemas/com.fourthwall.openapi.model.OrderV1$Shipping'
        offers:
          type: array
          items:
            $ref: >-
              #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferOrderV1
        source:
          oneOf:
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.OrderV1$Source$Order
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.OrderV1$Source$SamplesOrder
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.OrderV1$Source$TwitchGiftRedemption
            - $ref: >-
                #/components/schemas/com.fourthwall.openapi.model.OrderV1$Source$GiveawayLinks
        createdAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
        updatedAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
    com.fourthwall.openapi.model.OrderV1$Billing:
      required:
        - address
      type: object
      properties:
        address:
          $ref: '#/components/schemas/com.fourthwall.openapi.model.Address'
    com.fourthwall.openapi.model.OrderV1$OrderAmounts:
      required:
        - discount
        - donation
        - shipping
        - subtotal
        - tax
        - total
      type: object
      properties:
        subtotal:
          $ref: '#/components/schemas/Money'
        shipping:
          $ref: '#/components/schemas/Money'
        tax:
          $ref: '#/components/schemas/Money'
        donation:
          $ref: '#/components/schemas/Money'
        discount:
          $ref: '#/components/schemas/Money'
        total:
          $ref: '#/components/schemas/Money'
    com.fourthwall.openapi.model.OrderV1$Shipping:
      required:
        - address
      type: object
      properties:
        address:
          $ref: '#/components/schemas/com.fourthwall.openapi.model.Address'
    com.fourthwall.openapi.model.OrderV1$Source$GiveawayLinks:
      required:
        - giftId
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - GIVEAWAY_LINKS
        giftId:
          type: string
          example: gft_EdJvIXu3SEiXe_QkPavHSA
    com.fourthwall.openapi.model.OrderV1$Source$Order:
      required:
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - ORDER
    com.fourthwall.openapi.model.OrderV1$Source$SamplesOrder:
      required:
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - SAMPLES_ORDER
    com.fourthwall.openapi.model.OrderV1$Source$TwitchGiftRedemption:
      required:
        - giftId
        - giftPurchaseId
        - type
      type: object
      properties:
        type:
          type: string
          enum:
            - TWITCH_GIFT_REDEMPTION
        giftPurchaseId:
          type: string
          example: giv_EdJvIXu3SEiXe_QkPavHSA
        giftId:
          type: string
          example: gft_EdJvIXu3SEiXe_QkPavHSA
    com.fourthwall.openapi.model.GiveawayPackagesV1:
      required:
        - packages
      type: object
      properties:
        packages:
          type: array
          items:
            $ref: >-
              #/components/schemas/com.fourthwall.openapi.model.GiveawayPackagesV1$GiveawayPackage
    com.fourthwall.openapi.model.GiveawayPackagesV1$GiveawayPackage:
      required:
        - createdAt
        - packageId
      type: object
      properties:
        packageId:
          type: string
          example: gpg_EdJvIXu3SEiXe_QkPavHSA
        createdAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
    com.fourthwall.openapi.model.GiftPurchaseV1:
      required:
        - amounts
        - createdAt
        - email
        - friendlyId
        - gifts
        - id
        - offer
        - shopId
      type: object
      properties:
        id:
          type: string
          example: giv_EdJvIXu3SEiXe_QkPavHSA
        friendlyId:
          type: string
          example: D3XZFWPP
        shopId:
          type: string
          example: sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb
        offer:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.OfferAbstractV1$OfferGiftPurchaseV1
        amounts:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.GiftPurchaseV1$Amounts
        email:
          type: string
          example: supporter@fourthwall.com
        username:
          type: string
          example: Johnny123
        message:
          type: string
          example: Sample message
        gifts:
          type: array
          items:
            oneOf:
              - $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.GiftPurchaseV1$Gift$Redeemed
              - $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.GiftPurchaseV1$Gift$Available
              - $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.GiftPurchaseV1$Gift$Cancelled
              - $ref: >-
                  #/components/schemas/com.fourthwall.openapi.model.GiftPurchaseV1$Gift$ChangedToPromotion
        createdAt:
          type: string
          format: date-time
    com.fourthwall.openapi.model.GiftPurchaseV1$Amounts:
      required:
        - prepaidShipping
        - profit
        - subtotal
        - tax
        - total
      type: object
      properties:
        subtotal:
          $ref: '#/components/schemas/Money'
        tax:
          $ref: '#/components/schemas/Money'
        total:
          $ref: '#/components/schemas/Money'
        profit:
          $ref: '#/components/schemas/Money'
        prepaidShipping:
          $ref: '#/components/schemas/Money'
    com.fourthwall.openapi.model.GiftPurchaseV1$Gift$Available:
      required:
        - id
        - status
      type: object
      properties:
        status:
          type: string
          enum:
            - AVAILABLE
        id:
          type: string
          example: gft_EdJvIXu3SEiXe_QkPavHSA
        winner:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.GiftPurchaseV1$Winner
    com.fourthwall.openapi.model.GiftPurchaseV1$Gift$Cancelled:
      required:
        - id
        - status
      type: object
      properties:
        status:
          type: string
          enum:
            - CANCELLED
        id:
          type: string
          example: gft_EdJvIXu3SEiXe_QkPavHSA
        winner:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.GiftPurchaseV1$Winner
    com.fourthwall.openapi.model.GiftPurchaseV1$Gift$ChangedToPromotion:
      required:
        - id
        - promotionId
        - status
        - winner
      type: object
      properties:
        status:
          type: string
          enum:
            - CHANGED_TO_PROMOTION
        id:
          type: string
          example: gft_EdJvIXu3SEiXe_QkPavHSA
        promotionId:
          type: string
          example: prm_EdJvIXu3SEiXe_QkPavHSA
        winner:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.GiftPurchaseV1$Winner
    com.fourthwall.openapi.model.GiftPurchaseV1$Gift$Redeemed:
      required:
        - id
        - orderFriendlyId
        - orderId
        - status
        - winner
      type: object
      properties:
        status:
          type: string
          enum:
            - REDEEMED
        id:
          type: string
          example: gft_EdJvIXu3SEiXe_QkPavHSA
        orderId:
          type: string
          example: 00aa4abd-5778-4199-8161-0b49b2f212e5
        orderFriendlyId:
          type: string
          example: D3XZFWPP
        winner:
          $ref: >-
            #/components/schemas/com.fourthwall.openapi.model.GiftPurchaseV1$Winner
    com.fourthwall.openapi.model.GiftPurchaseV1$Winner:
      required:
        - selectedAt
      type: object
      properties:
        email:
          type: string
          example: supporter@fourthwall.com
        username:
          type: string
          example: Johnny123
        selectedAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
    com.fourthwall.app.openapi.model.OpenApiPageResponseCom.fourthwall.openapi.model.DonationV1:
      required:
        - results
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/com.fourthwall.openapi.model.DonationV1'
    com.fourthwall.openapi.model.DonationV1:
      required:
        - amounts
        - createdAt
        - email
        - id
        - shopId
        - status
        - updatedAt
      type: object
      properties:
        id:
          type: string
          example: don_Kpcjx4HIQ1e4bTIOjX9CsA
        shopId:
          type: string
          example: sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb
        status:
          type: string
          enum:
            - OPEN
            - COMPLETED
            - ABANDONED
            - CANCELLED
            - FAILED
        email:
          type: string
          example: supporter@fourthwall.com
        username:
          type: string
          example: Johnny123
        message:
          type: string
          example: Sample message
        amounts:
          $ref: '#/components/schemas/com.fourthwall.openapi.model.DonationV1$Amounts'
        createdAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
        updatedAt:
          type: string
          format: date-time
          example: '2020-08-13T09:05:36.939Z'
    com.fourthwall.openapi.model.DonationV1$Amounts:
      required:
        - total
      type: object
      properties:
        total:
          $ref: '#/components/schemas/Money'
  securitySchemes:
    oauth:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: >-
            https://auth.staging.fourthwall.com/auth/realms/Fourthwall/protocol/openid-connect/auth
          scopes:
            offer:read: offer:read
            offer:write: offer:write
            webhook:read: webhook:read
            webhook:write: webhook:write
            order:read: order:read
            fulfillment:write: fulfillment:write
            thankyou:read: thankyou:read
    basicAuth:
      type: http
      scheme: basic
