{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/ecommerce:pendo/get-accounts":{"get":{"operationId":"ecommerce_pendo_get_accounts","summary":"Query accounts","description":"GET /accounts","tags":["ecommerce"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Limit the number of records returned","schema":{"type":"number","description":"Limit the number of records returned"}},{"name":"start","in":"query","required":false,"description":"Offset to start at","schema":{"type":"number","description":"Offset to start at"}},{"name":"order_dir","in":"query","required":false,"description":"The sort direction","schema":{"type":"string","enum":["asc","desc"],"description":"The sort direction"}},{"name":"order_by","in":"query","required":false,"description":"The field to use for sort","schema":{"type":"string","enum":["churned","last_seen","name"],"description":"The field to use for sort"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-accounts-id":{"get":{"operationId":"ecommerce_pendo_get_accounts_id","summary":"Get an Account","description":"GET /accounts/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"Account ID (generated by Feedback)","schema":{"type":"number","description":"Account ID (generated by Feedback)"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/put-accounts-id":{"post":{"operationId":"ecommerce_pendo_put_accounts_id","summary":"Update an Account","description":"PUT /accounts/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"number","description":"Account ID (generated by Feedback)"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/delete-accounts-id":{"post":{"operationId":"ecommerce_pendo_delete_accounts_id","summary":"Delete an Account","description":"DELETE /accounts/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-accounts-id-tags":{"get":{"operationId":"ecommerce_pendo_get_accounts_id_tags","summary":"Get custom Account tags","description":"GET /accounts/{id}/tags","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"Account ID (generated by Feedback)","schema":{"type":"number","description":"Account ID (generated by Feedback)"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/post-accounts-id-tags":{"post":{"operationId":"ecommerce_pendo_post_accounts_id_tags","summary":"Overwrite current custom Account tags with the given tags","description":"POST /accounts/{id}/tags","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"number","description":"Account ID (generated by Feedback)"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/delete-accounts-id-tags":{"post":{"operationId":"ecommerce_pendo_delete_accounts_id_tags","summary":"Delete custom Account tags","description":"DELETE /accounts/{id}/tags","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"number","description":"Account ID (generated by Feedback)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-comments":{"get":{"operationId":"ecommerce_pendo_get_comments","summary":"fetch Comment records","description":"GET /comments","tags":["ecommerce"],"parameters":[{"name":"case_id","in":"query","required":true,"description":"case_id","schema":{"type":"integer","description":"case_id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-features":{"get":{"operationId":"ecommerce_pendo_get_features","summary":"Query features","description":"GET /features","tags":["ecommerce"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Limit the number of records returned","schema":{"type":"number","description":"Limit the number of records returned"}},{"name":"start","in":"query","required":false,"description":"Offset to start at","schema":{"type":"number","description":"Offset to start at"}},{"name":"order_dir","in":"query","required":false,"description":"The sort direction","schema":{"type":"string","enum":["asc","desc"],"description":"The sort direction"}},{"name":"is_private","in":"query","required":false,"description":"Filter by whether the features are shown/hidden from customer, if supplied.","schema":{"type":"boolean","description":"Filter by whether the features are shown/hidden from customer, if supplied."}},{"name":"wanted_by","in":"query","required":false,"description":"Filter by User ID, if supplied.","schema":{"type":"integer","description":"Filter by User ID, if supplied."}},{"name":"order_by","in":"query","required":false,"description":"The field to use for sort","schema":{"type":"string","enum":["title","created_at","updated_at","declined_at","developing_at","planned_at","released_at","waiting_at","deleted_at"],"description":"The field to use for sort"}},{"name":"tags","in":"query","required":false,"description":"Tags to limit results by. Multiple tags can be provided via comma delimeted string. Tags with contexts can be used. E.g.…","schema":{"type":"string","description":"Tags to limit results by. Multiple tags can be provided via comma delimeted string. Tags with contexts can be used. E.g.…"}},{"name":"products","in":"query","required":false,"description":"Products to limit results by. Comma delimeted string of either ids or names. E.g. \"...&products=1,2,3\" or \"...products=Product1,Product2\".","schema":{"type":"string","description":"Products to limit results by. Comma delimeted string of either ids or names. E.g. \"...&products=1,2,3\" or \"...products=Product1,Product2\"."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-features-id":{"get":{"operationId":"ecommerce_pendo_get_features_id","summary":"Get a Feature by ID","description":"GET /features/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"ID of the feature","schema":{"type":"integer","description":"ID of the feature"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-features-id-tags":{"get":{"operationId":"ecommerce_pendo_get_features_id_tags","summary":"Get custom Feature tags","description":"GET /features/{id}/tags","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"Account ID (generated by Feedback)","schema":{"type":"number","description":"Account ID (generated by Feedback)"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/post-features-id-tags":{"post":{"operationId":"ecommerce_pendo_post_features_id_tags","summary":"Overwrite current custom Feature tags with the given tags","description":"POST /features/{id}/tags","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"number","description":"Feedback's Feature ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/delete-features-id-tags":{"post":{"operationId":"ecommerce_pendo_delete_features_id_tags","summary":"Delete custom Feature tags","description":"DELETE /features/{id}/tags","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"number","description":"Feedback's Feature ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-health-check-ping":{"get":{"operationId":"ecommerce_pendo_get_health_check_ping","summary":"Health check for API","description":"GET /health-check/ping","tags":["ecommerce"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/post-hooks":{"post":{"operationId":"ecommerce_pendo_post_hooks","summary":"Subscribe to webhooks","description":"POST /hooks","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/post-hooks-unsubscribe":{"post":{"operationId":"ecommerce_pendo_post_hooks_unsubscribe","summary":"Unsubscribe from webhooks","description":"POST /hooks/unsubscribe","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-search":{"get":{"operationId":"ecommerce_pendo_get_search","summary":"Search features","description":"GET /search","tags":["ecommerce"],"parameters":[{"name":"scope","in":"query","required":true,"description":"Specifies the type of entity being searched for. Must be set to 'feature'","schema":{"type":"string","enum":["feature"],"description":"Specifies the type of entity being searched for. Must be set to 'feature'"}},{"name":"q","in":"query","required":true,"description":"The search term.","schema":{"type":"string","description":"The search term."}},{"name":"status","in":"query","required":false,"description":"A comma seperated list of status values to filter by, if required. Valid values: 'new', 'waiting', 'planned', 'developing', 'released',…","schema":{"type":"string","enum":["new","waiting","planned","developing","released","declined"],"description":"A comma seperated list of status values to filter by, if required. Valid values: 'new', 'waiting', 'planned', 'developing', 'released',…"}},{"name":"tags","in":"query","required":false,"description":"Tags to limit results by - only applies when scope is 'case' or 'feature'. Multiple tags can be provided via comma delimeted string. Tags…","schema":{"type":"string","description":"Tags to limit results by - only applies when scope is 'case' or 'feature'. Multiple tags can be provided via comma delimeted string. Tags…"}},{"name":"products","in":"query","required":false,"description":"Products to limit results by. Comma delimeted string of either ids or names. E.g. \"...&products=1,2,3\" or \"...products=Product1,Product2\".","schema":{"type":"string","description":"Products to limit results by. Comma delimeted string of either ids or names. E.g. \"...&products=1,2,3\" or \"...products=Product1,Product2\"."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-users":{"get":{"operationId":"ecommerce_pendo_get_users","summary":"fetch User records","description":"GET /users","tags":["ecommerce"],"parameters":[{"name":"role","in":"query","required":true,"description":"role","schema":{"type":"string","enum":["endUser","vendorUser"],"description":"role"}},{"name":"account","in":"query","required":false,"description":"Filter by Account ID, if supplied. Only useful if role param is endUser","schema":{"type":"integer","description":"Filter by Account ID, if supplied. Only useful if role param is endUser"}},{"name":"start","in":"query","required":false,"description":"Offset to start at","schema":{"type":"integer","default":0,"description":"Offset to start at"}},{"name":"limit","in":"query","required":false,"description":"Limit the number of records returned. Max value can be 300. If limit is set to more than 300 the api will return an error","schema":{"type":"integer","default":300,"description":"Limit the number of records returned. Max value can be 300. If limit is set to more than 300 the api will return an error"}},{"name":"order_by","in":"query","required":false,"description":"The field to use for sort","schema":{"type":"string","description":"The field to use for sort"}},{"name":"order_dir","in":"query","required":false,"description":"The sort direction","schema":{"type":"string","enum":["asc","desc"],"description":"The sort direction"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/post-users":{"post":{"operationId":"ecommerce_pendo_post_users","summary":"Ping to create or update an EndUser and Account in one call","description":"POST /users","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/post-users-invite-end-user":{"post":{"operationId":"ecommerce_pendo_post_users_invite_end_user","summary":"Invite an EndUser (customer)","description":"POST /users/invite_end_user","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/post-users-invite-vendor-user":{"post":{"operationId":"ecommerce_pendo_post_users_invite_vendor_user","summary":"Invite a VendorUser (Team member)","description":"POST /users/invite_vendor_user","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-users-search":{"get":{"operationId":"ecommerce_pendo_get_users_search","summary":"Find a User with a query","description":"GET /users/search","tags":["ecommerce"],"parameters":[{"name":"external_id","in":"query","required":false,"description":"Find using your external ID, rather than the ID generated by Feedback","schema":{"type":"string","description":"Find using your external ID, rather than the ID generated by Feedback"}},{"name":"email","in":"query","required":false,"description":"Find user by their email address. Role param must be specified when using this option","schema":{"type":"string","description":"Find user by their email address. Role param must be specified when using this option"}},{"name":"role","in":"query","required":false,"description":"Users role ('vendorUser' or 'endUser'). Only useful when finding a user by their email address","schema":{"type":"string","enum":["endUser","vendorUser"],"description":"Users role ('vendorUser' or 'endUser'). Only useful when finding a user by their email address"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-users-id":{"get":{"operationId":"ecommerce_pendo_get_users_id","summary":"Get a User record","description":"GET /users/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/put-users-id":{"post":{"operationId":"ecommerce_pendo_put_users_id","summary":"Update a User","description":"PUT /users/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"number","description":"Feedback's User ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/delete-users-id":{"post":{"operationId":"ecommerce_pendo_delete_users_id","summary":"Delete a User","description":"DELETE /users/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-users-id-tags":{"get":{"operationId":"ecommerce_pendo_get_users_id_tags","summary":"Get custom User tags","description":"GET /users/{id}/tags","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"Feedback's User ID","schema":{"type":"number","description":"Feedback's User ID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/post-users-id-tags":{"post":{"operationId":"ecommerce_pendo_post_users_id_tags","summary":"Overwrite current custom User tags with the given tags","description":"POST /users/{id}/tags","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"number","description":"Feedback's User ID"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/delete-users-id-tags":{"post":{"operationId":"ecommerce_pendo_delete_users_id_tags","summary":"Delete custom User tags","description":"DELETE /users/{id}/tags","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"number","description":"Feedback's User ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/post-vendor-users":{"post":{"operationId":"ecommerce_pendo_post_vendor_users","summary":"Create or update a team member by their external_id","description":"POST /vendor_users","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/get-votes":{"get":{"operationId":"ecommerce_pendo_get_votes","summary":"GET /votes","description":"GET /votes","tags":["ecommerce"],"parameters":[{"name":"user_id","in":"query","required":false,"description":"Include only votes by User that voted on a feature.","schema":{"type":"integer","description":"Include only votes by User that voted on a feature."}},{"name":"feature_id","in":"query","required":false,"description":"Include only votes for Feature with this Feature ID","schema":{"type":"integer","description":"Include only votes for Feature with this Feature ID"}},{"name":"positive","in":"query","required":false,"description":"Include only votes that are positive","schema":{"type":"boolean","description":"Include only votes that are positive"}},{"name":"negative","in":"query","required":false,"description":"Include only votes that are negative","schema":{"type":"boolean","description":"Include only votes that are negative"}},{"name":"offset","in":"query","required":false,"description":"Offset to start at","schema":{"type":"number","description":"Offset to start at"}},{"name":"limit","in":"query","required":false,"description":"Limit the number of records returned","schema":{"type":"number","description":"Limit the number of records returned"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:pendo/post-votes":{"post":{"operationId":"ecommerce_pendo_post_votes","summary":"update specified votes for a User","description":"POST /votes","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}