openapi: 3.0.0
info:
  title: WildFork - Order API's
  version: 1.0.0
servers:
  - url: http://{{baseurl}}
  - url: http://{{baseurl}}{{uri}}{{resource}}
tags:
  - name: subscription
  - name: subscription > submit
  - name: submit
  - name: status
  - name: refund
  - name: membership
  - name: membership > renew
  - name: capture
  - name: cancel
  - name: history
paths:
  /subscription/submit:
    post:
      tags:
        - subscription > submit
      summary: submit Subscription Order
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                token: <string>
      parameters:
        - name: X-WILDFORK-CART-ID
          in: header
          schema:
            type: string
          description: '(Required) '
          example: <string>
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: Accept
          in: header
          schema:
            type: string
          example: '*/*'
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "orderNumber": "<string>",
                  "lineItems": [
                    {
                      "id": "<string>",
                      "name": "<string>",
                      "weightText": "<string>",
                      "perUnitPriceText": "<string>",
                      "itemPiecesText": "<string>",
                      "totalPrice": "<long>",
                      "rawTotalPrice": "<long>",
                      "quantity": "<integer>",
                      "productImageUrl": "<string>",
                      "slug": "<string>",
                      "sku": "<string>",
                      "discountAmount": "<long>",
                      "taxAmount": "<long>"
                    },
                    {
                      "id": "<string>",
                      "name": "<string>",
                      "weightText": "<string>",
                      "perUnitPriceText": "<string>",
                      "itemPiecesText": "<string>",
                      "totalPrice": "<long>",
                      "rawTotalPrice": "<long>",
                      "quantity": "<integer>",
                      "productImageUrl": "<string>",
                      "slug": "<string>",
                      "sku": "<string>",
                      "discountAmount": "<long>",
                      "taxAmount": "<long>"
                    }
                  ],
                  "shippingAddress": {
                    "id": "<string>",
                    "firstName": "<string>",
                    "lastName": "<string>",
                    "address1": "<string>",
                    "address2": "<string>",
                    "city": "<string>",
                    "state": "<string>",
                    "postalCode": "<string>",
                    "country": "<string>",
                    "phone": "<string>"
                  },
                  "billingAddress": {
                    "id": "<string>",
                    "firstName": "<string>",
                    "lastName": "<string>",
                    "address1": "<string>",
                    "address2": "<string>",
                    "city": "<string>",
                    "state": "<string>",
                    "postalCode": "<string>",
                    "country": "<string>",
                    "phone": "<string>"
                  },
                  "tipReceived": "<long>",
                  "shippingTotal": "<long>",
                  "rawShippingTotal": "<long>",
                  "taxTotal": "<long>",
                  "subTotal": "<long>",
                  "rawSubTotal": "<long>",
                  "currencyType": "<string>",
                  "totalPrice": "<long>",
                  "fulfillmentStoreNumber": "<string>",
                  "deliveryWindow": {
                    "id": "<string>",
                    "startTime": "<long>",
                    "endTime": "<long>",
                    "fulfillmentType": "<string>",
                    "expiration": "<long>",
                    "available": "<boolean>",
                    "carrierName": "<string>"
                  },
                  "createdAt": "<dateTime>",
                  "orderstate": "<string>",
                  "paymentMethod": "<string>",
                  "deliveryMethod": "<string>",
                  "discountCode": "<string>",
                  "discountAmount": "<long>",
                  "action": "<string>",
                  "email": "<string>",
                  "sapCustomerId": "<string>",
                  "paymentAuthAmount": "<long>",
                  "paymentState": "<string>"
                }
        '400':
          description: Bad Request
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '401':
          description: Unauthorized
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
  /submit:
    post:
      tags:
        - submit
      summary: submit Order
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                tipReceived: <long>
                paymentData: <string>
                subscription:
                  cadence: <long>
      parameters:
        - name: X-WILDFORK-CART-ID
          in: header
          schema:
            type: string
          description: '(Required) '
          example: <string>
        - name: X-WILDFORK-LOCALE
          in: header
          schema:
            type: string
          example: <string>
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: Accept
          in: header
          schema:
            type: string
          example: '*/*'
        - name: step
          in: query
          schema:
            type: string
          example: <string>
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "orderNumber": "<string>",
                  "lineItems": [
                    {
                      "id": "<string>",
                      "name": "<string>",
                      "weightText": "<string>",
                      "perUnitPriceText": "<string>",
                      "itemPiecesText": "<string>",
                      "totalPrice": "<long>",
                      "rawTotalPrice": "<long>",
                      "quantity": "<integer>",
                      "productImageUrl": "<string>",
                      "slug": "<string>",
                      "sku": "<string>",
                      "discountAmount": "<long>",
                      "taxAmount": "<long>"
                    },
                    {
                      "id": "<string>",
                      "name": "<string>",
                      "weightText": "<string>",
                      "perUnitPriceText": "<string>",
                      "itemPiecesText": "<string>",
                      "totalPrice": "<long>",
                      "rawTotalPrice": "<long>",
                      "quantity": "<integer>",
                      "productImageUrl": "<string>",
                      "slug": "<string>",
                      "sku": "<string>",
                      "discountAmount": "<long>",
                      "taxAmount": "<long>"
                    }
                  ],
                  "shippingAddress": {
                    "id": "<string>",
                    "firstName": "<string>",
                    "lastName": "<string>",
                    "address1": "<string>",
                    "address2": "<string>",
                    "city": "<string>",
                    "state": "<string>",
                    "postalCode": "<string>",
                    "country": "<string>",
                    "phone": "<string>"
                  },
                  "billingAddress": {
                    "id": "<string>",
                    "firstName": "<string>",
                    "lastName": "<string>",
                    "address1": "<string>",
                    "address2": "<string>",
                    "city": "<string>",
                    "state": "<string>",
                    "postalCode": "<string>",
                    "country": "<string>",
                    "phone": "<string>"
                  },
                  "tipReceived": "<long>",
                  "shippingTotal": "<long>",
                  "rawShippingTotal": "<long>",
                  "taxTotal": "<long>",
                  "subTotal": "<long>",
                  "rawSubTotal": "<long>",
                  "currencyType": "<string>",
                  "totalPrice": "<long>",
                  "fulfillmentStoreNumber": "<string>",
                  "deliveryWindow": {
                    "id": "<string>",
                    "startTime": "<long>",
                    "endTime": "<long>",
                    "fulfillmentType": "<string>",
                    "expiration": "<long>",
                    "available": "<boolean>",
                    "carrierName": "<string>"
                  },
                  "createdAt": "<dateTime>",
                  "orderstate": "<string>",
                  "paymentMethod": "<string>",
                  "deliveryMethod": "<string>",
                  "discountCode": "<string>",
                  "discountAmount": "<long>",
                  "action": "<string>",
                  "email": "<string>",
                  "sapCustomerId": "<string>",
                  "paymentAuthAmount": "<long>",
                  "paymentState": "<string>"
                }
        '400':
          description: Bad Request
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '401':
          description: Unauthorized
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
  /status:
    post:
      tags:
        - status
      summary: get Order Status
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                orderNumber: <string>
                email: <string>
      parameters:
        - name: X-WILDFORK-LOCALE
          in: header
          schema:
            type: string
          example: <string>
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: Accept
          in: header
          schema:
            type: string
          example: '*/*'
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "orderNumber": "<string>",
                  "lineItems": [
                    {
                      "id": "<string>",
                      "name": "<string>",
                      "weightText": "<string>",
                      "perUnitPriceText": "<string>",
                      "itemPiecesText": "<string>",
                      "totalPrice": "<long>",
                      "rawTotalPrice": "<long>",
                      "quantity": "<integer>",
                      "productImageUrl": "<string>",
                      "slug": "<string>",
                      "sku": "<string>",
                      "discountAmount": "<long>",
                      "taxAmount": "<long>"
                    },
                    {
                      "id": "<string>",
                      "name": "<string>",
                      "weightText": "<string>",
                      "perUnitPriceText": "<string>",
                      "itemPiecesText": "<string>",
                      "totalPrice": "<long>",
                      "rawTotalPrice": "<long>",
                      "quantity": "<integer>",
                      "productImageUrl": "<string>",
                      "slug": "<string>",
                      "sku": "<string>",
                      "discountAmount": "<long>",
                      "taxAmount": "<long>"
                    }
                  ],
                  "shippingAddress": {
                    "id": "<string>",
                    "firstName": "<string>",
                    "lastName": "<string>",
                    "address1": "<string>",
                    "address2": "<string>",
                    "city": "<string>",
                    "state": "<string>",
                    "postalCode": "<string>",
                    "country": "<string>",
                    "phone": "<string>"
                  },
                  "billingAddress": {
                    "id": "<string>",
                    "firstName": "<string>",
                    "lastName": "<string>",
                    "address1": "<string>",
                    "address2": "<string>",
                    "city": "<string>",
                    "state": "<string>",
                    "postalCode": "<string>",
                    "country": "<string>",
                    "phone": "<string>"
                  },
                  "tipReceived": "<long>",
                  "shippingTotal": "<long>",
                  "rawShippingTotal": "<long>",
                  "taxTotal": "<long>",
                  "subTotal": "<long>",
                  "rawSubTotal": "<long>",
                  "currencyType": "<string>",
                  "totalPrice": "<long>",
                  "fulfillmentStoreNumber": "<string>",
                  "deliveryWindow": {
                    "id": "<string>",
                    "startTime": "<long>",
                    "endTime": "<long>",
                    "fulfillmentType": "<string>",
                    "expiration": "<long>",
                    "available": "<boolean>",
                    "carrierName": "<string>"
                  },
                  "createdAt": "<dateTime>",
                  "orderstate": "<string>",
                  "paymentMethod": "<string>",
                  "deliveryMethod": "<string>",
                  "discountCode": "<string>",
                  "discountAmount": "<long>",
                  "action": "<string>",
                  "email": "<string>",
                  "sapCustomerId": "<string>",
                  "paymentAuthAmount": "<long>",
                  "paymentState": "<string>"
                }
        '400':
          description: Bad Request
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '401':
          description: Unauthorized
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
  /refund:
    post:
      tags:
        - refund
      summary: Refund all or part of an order after it has been captured
      description: Refund all or part of an order after it has been captured
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                orderNumber: <string>
                deliveryCompanyName: <string>
                reasonCode: <string>
                lineItems:
                  - lineItemNumber: <integer>
                    sku: <string>
                    quantity: <integer>
                    amount:
                      currency: <string>
                      value: <long>
                  - lineItemNumber: <integer>
                    sku: <string>
                    quantity: <integer>
                    amount:
                      currency: <string>
                      value: <long>
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: Accept
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example:
                - orderNumber: <string>
                - orderNumber: <string>
        '400':
          description: Bad Request
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example: {}
        '401':
          description: Unauthorized
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
  /membership/renew:
    post:
      tags:
        - membership > renew
      summary: Renew membership of customer
      description: Renew membership of customer
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                cartId: <string>
                customerNumber: <string>
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: Accept
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
              example: ''
        '400':
          description: Bad Request
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example: {}
        '401':
          description: Unauthorized
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
  /capture:
    post:
      tags:
        - capture
      summary: Capture funds after pick completion
      description: Create a capture endpoint to Capture funds after pick completion
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                customerNumber: <string>
                deliveryStatus: <string>
                orderNumber: <string>
                lineItems:
                  items:
                    - lineItemNumber: <integer>
                      sku: <string>
                      quantity: <string>
                      parentSku: <string>
                      parentLineNumber: <integer>
                    - lineItemNumber: <integer>
                      sku: <string>
                      quantity: <string>
                      parentSku: <string>
                      parentLineNumber: <integer>
                deliveryCompanyName: <string>
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: Accept
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '201':
          description: Created
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example:
                orderNumber: <string>
                lineItems:
                  items:
                    - lineItemNumber: <integer>
                      sku: <string>
                      quantity: <string>
                      price: <integer>
                      tax1: <integer>
                      tax2: <integer>
                      tax3: <integer>
                      tax4: <integer>
                    - lineItemNumber: <integer>
                      sku: <string>
                      quantity: <string>
                      price: <integer>
                      tax1: <integer>
                      tax2: <integer>
                      tax3: <integer>
                      tax4: <integer>
                subTotal: <long>
                tax1: <long>
                tax2: <long>
                tax3: <long>
                tax4: <long>
                totalTax: <long>
                totalTips: <long>
                shippingTotal: <long>
                orderTotal: <long>
        '400':
          description: Bad Request
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '401':
          description: Unauthorized
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
  /cancel:
    post:
      tags:
        - cancel
      summary: Cancel order before it has been captured
      description: Cancel order before it has been captured
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                orderNumber: <string>
                sapCustomerNumber: <string>
                reasonCode: <string>
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: Accept
          in: header
          schema:
            type: string
          example: application/json
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example:
                - orderNumber: <string>
                - orderNumber: <string>
        '400':
          description: Bad Request
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example: {}
        '401':
          description: Unauthorized
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
  /history:
    get:
      tags:
        - history
      summary: get list of orders from customer email
      description: the custmoer email should come from session object
      parameters:
        - name: Accept
          in: header
          schema:
            type: string
          example: application/json
        - name: Ocp-Apim-Subscription-key
          in: header
          schema:
            type: string
          example: '{{Ocp-Apim-Subscription-Key}}'
      responses:
        '200':
          description: OK
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example:
                - orderNumber: <string>
                  lineItems:
                    - id: <string>
                      name: <string>
                      weightText: <string>
                      perUnitPriceText: <string>
                      itemPiecesText: <string>
                      totalPrice: <long>
                      rawTotalPrice: <long>
                      quantity: <integer>
                      productImageUrl: <string>
                      slug: <string>
                      sku: <string>
                      discountAmount: <long>
                      taxAmount: <long>
                    - id: <string>
                      name: <string>
                      weightText: <string>
                      perUnitPriceText: <string>
                      itemPiecesText: <string>
                      totalPrice: <long>
                      rawTotalPrice: <long>
                      quantity: <integer>
                      productImageUrl: <string>
                      slug: <string>
                      sku: <string>
                      discountAmount: <long>
                      taxAmount: <long>
                  shippingAddress:
                    id: <string>
                    firstName: <string>
                    lastName: <string>
                    address1: <string>
                    address2: <string>
                    city: <string>
                    state: <string>
                    postalCode: <string>
                    country: <string>
                    phone: <string>
                  billingAddress:
                    id: <string>
                    firstName: <string>
                    lastName: <string>
                    address1: <string>
                    address2: <string>
                    city: <string>
                    state: <string>
                    postalCode: <string>
                    country: <string>
                    phone: <string>
                  tipReceived: <long>
                  shippingTotal: <long>
                  rawShippingTotal: <long>
                  taxTotal: <long>
                  subTotal: <long>
                  rawSubTotal: <long>
                  currencyType: <string>
                  totalPrice: <long>
                  fulfillmentStoreNumber: <string>
                  deliveryWindow:
                    id: <string>
                    startTime: <long>
                    endTime: <long>
                    fulfillmentType: <string>
                    expiration: <long>
                    available: <boolean>
                    carrierName: <string>
                  createdAt: <dateTime>
                  orderstate: <string>
                  paymentMethod: <string>
                  deliveryMethod: <string>
                  discountCode: <string>
                  discountAmount: <long>
                  action: <string>
                  email: <string>
                  sapCustomerId: <string>
                  paymentAuthAmount: <long>
                  paymentState: <string>
                - orderNumber: <string>
                  lineItems:
                    - id: <string>
                      name: <string>
                      weightText: <string>
                      perUnitPriceText: <string>
                      itemPiecesText: <string>
                      totalPrice: <long>
                      rawTotalPrice: <long>
                      quantity: <integer>
                      productImageUrl: <string>
                      slug: <string>
                      sku: <string>
                      discountAmount: <long>
                      taxAmount: <long>
                    - id: <string>
                      name: <string>
                      weightText: <string>
                      perUnitPriceText: <string>
                      itemPiecesText: <string>
                      totalPrice: <long>
                      rawTotalPrice: <long>
                      quantity: <integer>
                      productImageUrl: <string>
                      slug: <string>
                      sku: <string>
                      discountAmount: <long>
                      taxAmount: <long>
                  shippingAddress:
                    id: <string>
                    firstName: <string>
                    lastName: <string>
                    address1: <string>
                    address2: <string>
                    city: <string>
                    state: <string>
                    postalCode: <string>
                    country: <string>
                    phone: <string>
                  billingAddress:
                    id: <string>
                    firstName: <string>
                    lastName: <string>
                    address1: <string>
                    address2: <string>
                    city: <string>
                    state: <string>
                    postalCode: <string>
                    country: <string>
                    phone: <string>
                  tipReceived: <long>
                  shippingTotal: <long>
                  rawShippingTotal: <long>
                  taxTotal: <long>
                  subTotal: <long>
                  rawSubTotal: <long>
                  currencyType: <string>
                  totalPrice: <long>
                  fulfillmentStoreNumber: <string>
                  deliveryWindow:
                    id: <string>
                    startTime: <long>
                    endTime: <long>
                    fulfillmentType: <string>
                    expiration: <long>
                    available: <boolean>
                    carrierName: <string>
                  createdAt: <dateTime>
                  orderstate: <string>
                  paymentMethod: <string>
                  deliveryMethod: <string>
                  discountCode: <string>
                  discountAmount: <long>
                  action: <string>
                  email: <string>
                  sapCustomerId: <string>
                  paymentAuthAmount: <long>
                  paymentState: <string>
        '400':
          description: Bad Request
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example: {}
        '401':
          description: Unauthorized
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              schema:
                type: string
                example: '*/*'
          content:
            text/plain:
              schema:
                type: string
              example: |-
                {
                  "errors": [
                    {
                      "code": "<string>",
                      "message": "<string>"
                    },
                    {
                      "code": "<string>",
                      "message": "<string>"
                    }
                  ]
                }
