openapi: 3.2.0 info: title: 701x API V1 Cart API description: 701x API version: v1 tags: - name: Cart paths: /Cart/{id}: get: tags: - Cart parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get cart by id x-summary-source: derived operationId: getCartById x-operation-id-source: derived put: tags: - Cart parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/*+json: schema: $ref: '#/components/schemas/Customer_Cart_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace cart by id x-summary-source: derived operationId: putCartById x-operation-id-source: derived delete: tags: - Cart parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete cart by id x-summary-source: derived operationId: deleteCartById x-operation-id-source: derived /Cart/CartDataByFilter: get: tags: - Cart parameters: - name: top in: query schema: type: - integer - 'null' format: int32 - name: orderBy in: query schema: type: - string - 'null' - name: offset in: query schema: type: - integer - 'null' format: int32 - name: fetch in: query schema: type: - integer - 'null' format: int32 - name: SessionId in: query schema: type: - string - 'null' format: uuid - name: CompanyId in: query schema: type: - string - 'null' format: uuid - name: FarmId in: query schema: type: - string - 'null' format: uuid - name: LessThenCreatedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenCreatedByDate in: query schema: type: - string - 'null' format: date-time - name: LessThenUpdatedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenUpdatedByDate in: query schema: type: - string - 'null' format: date-time - name: LessThenDeletedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenDeletedByDate in: query schema: type: - string - 'null' format: date-time - name: SearchString in: query schema: type: - string - 'null' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Customer_Cart_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get cart cart data by filter x-summary-source: derived operationId: getCartCartDataByFilter x-operation-id-source: derived /Cart/CartHistoryDataByFilter: get: tags: - Cart parameters: - name: top in: query schema: type: - integer - 'null' format: int32 - name: orderBy in: query schema: type: - string - 'null' - name: offset in: query schema: type: - integer - 'null' format: int32 - name: fetch in: query schema: type: - integer - 'null' format: int32 - name: SessionId in: query schema: type: - string - 'null' format: uuid - name: CompanyId in: query schema: type: - string - 'null' format: uuid - name: FarmId in: query schema: type: - string - 'null' format: uuid - name: LessThenCreatedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenCreatedByDate in: query schema: type: - string - 'null' format: date-time - name: LessThenUpdatedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenUpdatedByDate in: query schema: type: - string - 'null' format: date-time - name: LessThenDeletedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenDeletedByDate in: query schema: type: - string - 'null' format: date-time - name: SearchString in: query schema: type: - string - 'null' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Customer_Cart_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get cart cart history data by filter x-summary-source: derived operationId: getCartCartHistoryDataByFilter x-operation-id-source: derived /Cart/CartHistoryCountByFilter: get: tags: - Cart parameters: - name: top in: query schema: type: - integer - 'null' format: int32 - name: orderBy in: query schema: type: - string - 'null' - name: offset in: query schema: type: - integer - 'null' format: int32 - name: fetch in: query schema: type: - integer - 'null' format: int32 - name: SessionId in: query schema: type: - string - 'null' format: uuid - name: CompanyId in: query schema: type: - string - 'null' format: uuid - name: FarmId in: query schema: type: - string - 'null' format: uuid - name: CartStatus in: query schema: type: - string - 'null' - name: isSubscriptionBased in: query schema: type: - boolean - 'null' - name: LessThenCreatedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenCreatedByDate in: query schema: type: - string - 'null' format: date-time - name: LessThenUpdatedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenUpdatedByDate in: query schema: type: - string - 'null' format: date-time - name: LessThenDeletedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenDeletedByDate in: query schema: type: - string - 'null' format: date-time - name: SearchString in: query schema: type: - string - 'null' responses: '200': description: Success content: text/plain: schema: type: integer format: int32 application/json: schema: type: integer format: int32 text/json: schema: type: integer format: int32 '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get cart cart history count by filter x-summary-source: derived operationId: getCartCartHistoryCountByFilter x-operation-id-source: derived /Cart: post: tags: - Cart requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/*+json: schema: $ref: '#/components/schemas/Customer_Cart_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create cart x-summary-source: derived operationId: postCart x-operation-id-source: derived /Cart/GetBySession: get: tags: - Cart parameters: - name: id in: query schema: type: string format: uuid - name: SessionId in: query schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' summary: Get cart get by session x-summary-source: derived operationId: getCartGetBySession x-operation-id-source: derived /Cart/CartDataByFilterSession: get: tags: - Cart parameters: - name: top in: query schema: type: - integer - 'null' format: int32 - name: orderBy in: query schema: type: - string - 'null' - name: offset in: query schema: type: - integer - 'null' format: int32 - name: fetch in: query schema: type: - integer - 'null' format: int32 - name: SessionId in: query schema: type: string format: uuid - name: LessThenCreatedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenCreatedByDate in: query schema: type: - string - 'null' format: date-time - name: LessThenUpdatedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenUpdatedByDate in: query schema: type: - string - 'null' format: date-time - name: LessThenDeletedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenDeletedByDate in: query schema: type: - string - 'null' format: date-time responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Customer_Cart_Master' summary: Get cart cart data by filter session x-summary-source: derived operationId: getCartCartDataByFilterSession x-operation-id-source: derived /Cart/PostBySession: post: tags: - Cart requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/*+json: schema: $ref: '#/components/schemas/Customer_Cart_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' summary: Create cart post by session x-summary-source: derived operationId: postCartPostBySession x-operation-id-source: derived /Cart/PutBySession/{id}: put: tags: - Cart parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/*+json: schema: $ref: '#/components/schemas/Customer_Cart_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' summary: Replace cart put by session by id x-summary-source: derived operationId: putCartPutBySessionById x-operation-id-source: derived /Cart/DeleteBySession/{id}: delete: tags: - Cart parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Customer_Cart_Master' application/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' text/json: schema: $ref: '#/components/schemas/Customer_Cart_Master' summary: Delete cart delete by session by id x-summary-source: derived operationId: deleteCartDeleteBySessionById x-operation-id-source: derived components: schemas: Customer_Cart_Master: type: object properties: id: type: string format: uuid orderNumber: type: - string - 'null' paymentIntentId: type: - string - 'null' cartProcess: type: - string - 'null' userId: type: - string - 'null' format: uuid sessionId: type: - string - 'null' format: uuid orderByName: type: - string - 'null' stripeCustomerId: type: - string - 'null' stripeSessionId: type: - string - 'null' stripeInvoiceNumber: type: - string - 'null' stripeShippingRateId: type: - string - 'null' isSubscriptionBased: type: - boolean - 'null' promotionId: type: - string - 'null' stripeDiscountId: type: - string - 'null' promotionCode: type: - string - 'null' coupon: type: - string - 'null' orderType: type: - string - 'null' comments: type: - string - 'null' farmId: type: - string - 'null' format: uuid companyId: type: - string - 'null' format: uuid shippingRateId: type: - string - 'null' format: uuid code: type: - string - 'null' description: type: - string - 'null' email: type: - string - 'null' billAddress1: type: - string - 'null' billAddress2: type: - string - 'null' billAddress3: type: - string - 'null' billCountry: type: - string - 'null' billState: type: - string - 'null' billRegion: type: - string - 'null' billZip: type: - string - 'null' billCity: type: - string - 'null' shipName: type: - string - 'null' shipAddress1: type: - string - 'null' shipAddress2: type: - string - 'null' shipAddress3: type: - string - 'null' shipCountry: type: - string - 'null' shipState: type: - string - 'null' shipRegion: type: - string - 'null' shipZip: type: - string - 'null' shipCity: type: - string - 'null' isWishlist: type: - boolean - 'null' isLocalPickup: type: - boolean - 'null' isNewRanch: type: - boolean - 'null' lineItemsTotal: type: - number - 'null' format: double discountTotal: type: - number - 'null' format: double shippingRate: type: - number - 'null' format: double totalPrice: type: - number - 'null' format: double pendingCheckoutDate: type: - string - 'null' format: date-time checkoutDate: type: - string - 'null' format: date-time filledByDate: type: - string - 'null' format: date-time filledByUserId: type: - string - 'null' format: uuid shippedByDate: type: - string - 'null' format: date-time shippedByUserId: type: - string - 'null' format: uuid companyDescription: type: - string - 'null' farmDescription: type: - string - 'null' tagFilledCount: type: - integer - 'null' format: int32 tagPendingCount: type: - integer - 'null' format: int32 tagOrderCount: type: - integer - 'null' format: int32 createdByDate: type: - string - 'null' format: date-time createdByUserId: type: - string - 'null' format: uuid createdByName: type: - string - 'null' lastUpdatedByDate: type: - string - 'null' format: date-time lastUpdatedByUserId: type: - string - 'null' format: uuid lastUpdatedByName: type: - string - 'null' cancelledByDate: type: - string - 'null' format: date-time cancelledByUserId: type: - string - 'null' format: uuid cancelledByName: type: - string - 'null' inActiveDate: type: - string - 'null' format: date-time isNew: type: boolean isUpdate: type: boolean isDelete: type: boolean error: type: - string - 'null' additionalProperties: false securitySchemes: oauth2: type: oauth2 flows: authorizationCode: authorizationUrl: https://login.701x.com/connect/authorize tokenUrl: https://login.701x.com/connect/token scopes: api1: Demo API - full access