openapi: 3.1.0 info: title: Depict Lite Ab Test tracking API version: 1.0.0 description: 'REST API behind Depict Lite, the native Shopify app: onboarding, collections, boost & bury, dashboards, A/B testing and multi-store management. Endpoints are served under the /api/lite prefix and require an Auth0-issued bearer token.' servers: - url: /api/lite tags: - name: tracking paths: /arm: post: tags: - tracking summary: Track operationId: track_arm_post security: - Auth0: [] parameters: - name: merchant_id in: query required: true schema: type: string title: Merchant Id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/TrackingRequest' responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /arm/launch: post: tags: - tracking summary: Get User Info operationId: get_user_info_arm_launch_post security: - Auth0: [] parameters: - name: merchant_id in: query required: true schema: type: string title: Merchant Id responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' components: schemas: TrackingRequest: properties: type: type: string title: Type payload: additionalProperties: anyOf: - type: string - items: type: string type: array - type: 'null' type: object title: Payload type: object required: - type - payload title: TrackingRequest HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type type: object required: - loc - msg - type title: ValidationError securitySchemes: Auth0: type: oauth2 flows: authorizationCode: scopes: openid: OpenID Connect profile: User profile email: User email authorizationUrl: https://depict.eu.auth0.com/oauth/authorize tokenUrl: https://depict.eu.auth0.com/oauth/token x-tokenName: id_token