openapi: 3.2.0 info: title: 701x API V1 Product Option Controller Admin API description: 701x API version: v1 tags: - name: ProductOptionControllerAdmin paths: /ProductOptionControllerAdmin/ProductOptionsByProduct: get: tags: - ProductOptionControllerAdmin parameters: - name: productId in: query schema: type: - string - 'null' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Product_Option' application/json: schema: type: array items: $ref: '#/components/schemas/Product_Option' text/json: schema: type: array items: $ref: '#/components/schemas/Product_Option' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get product option controller admin product options by product x-summary-source: derived operationId: getProductOptionControllerAdminProductOptionsByProduct x-operation-id-source: derived /ProductOptionControllerAdmin/ProductOptionsByFilter: get: tags: - ProductOptionControllerAdmin parameters: - name: productId in: query schema: type: - string - 'null' - name: optionProductId in: query schema: type: - string - 'null' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Product_Option' application/json: schema: type: array items: $ref: '#/components/schemas/Product_Option' text/json: schema: type: array items: $ref: '#/components/schemas/Product_Option' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get product option controller admin product options by filter x-summary-source: derived operationId: getProductOptionControllerAdminProductOptionsByFilter x-operation-id-source: derived /ProductOptionControllerAdmin: post: tags: - ProductOptionControllerAdmin requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Product_Option' application/json: schema: $ref: '#/components/schemas/Product_Option' text/json: schema: $ref: '#/components/schemas/Product_Option' application/*+json: schema: $ref: '#/components/schemas/Product_Option' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Product_Option' application/json: schema: $ref: '#/components/schemas/Product_Option' text/json: schema: $ref: '#/components/schemas/Product_Option' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create product option controller admin x-summary-source: derived operationId: postProductOptionControllerAdmin x-operation-id-source: derived /ProductOptionControllerAdmin/{id}: put: tags: - ProductOptionControllerAdmin parameters: - name: id in: path required: true schema: type: - string - 'null' requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Product_Option' application/json: schema: $ref: '#/components/schemas/Product_Option' text/json: schema: $ref: '#/components/schemas/Product_Option' application/*+json: schema: $ref: '#/components/schemas/Product_Option' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Product_Option' application/json: schema: $ref: '#/components/schemas/Product_Option' text/json: schema: $ref: '#/components/schemas/Product_Option' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace product option controller admin by id x-summary-source: derived operationId: putProductOptionControllerAdminById x-operation-id-source: derived delete: tags: - ProductOptionControllerAdmin parameters: - name: id in: path required: true schema: type: - string - 'null' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Product_Option' application/json: schema: $ref: '#/components/schemas/Product_Option' text/json: schema: $ref: '#/components/schemas/Product_Option' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete product option controller admin by id x-summary-source: derived operationId: deleteProductOptionControllerAdminById x-operation-id-source: derived /ProductOptionControllerAdmin/MassDeleteByProduct/{productId}: delete: tags: - ProductOptionControllerAdmin parameters: - name: productId in: path required: true schema: type: - string - 'null' responses: '200': description: Success '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete product option controller admin mass delete by product by product id x-summary-source: derived operationId: deleteProductOptionControllerAdminMassDeleteByProductByProductId x-operation-id-source: derived components: schemas: Product_Option: type: object properties: id: type: - string - 'null' productId: type: - string - 'null' optionProductId: type: - string - 'null' 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' 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