{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/ecommerce:fastspring/accounts-get-account-by-id":{"get":{"operationId":"ecommerce_fastspring_accounts_get_account_by_id","summary":"Get an account","description":"GET /accounts/{account_id}","tags":["ecommerce"],"parameters":[{"name":"account_id","in":"query","required":true,"description":"Account Id","schema":{"type":"string","description":"Account 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:fastspring/accounts-update-account-by-id":{"post":{"operationId":"ecommerce_fastspring_accounts_update_account_by_id","summary":"Update account","description":"POST /accounts/{account_id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["account_id","body"],"properties":{"account_id":{"type":"string","description":"Account 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:fastspring/accounts-get-authenticated-management-url":{"get":{"operationId":"ecommerce_fastspring_accounts_get_authenticated_management_url","summary":"Get authenticated account management URL","description":"GET /accounts/{account_id}/authenticate","tags":["ecommerce"],"parameters":[{"name":"account_id","in":"query","required":true,"description":"Account Id","schema":{"type":"string","description":"Account 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:fastspring/accounts-get-by-parameter":{"get":{"operationId":"ecommerce_fastspring_accounts_get_by_parameter","summary":"Get all accounts or Search for accounts by parameter","description":"GET /accounts","tags":["ecommerce"],"parameters":[{"name":"email","in":"query","required":false,"description":"Account email","schema":{"type":"string","description":"Account email"}},{"name":"custom","in":"query","required":false,"description":"Account custom key","schema":{"type":"string","description":"Account custom key"}},{"name":"global","in":"query","required":false,"description":"Account global key","schema":{"type":"string","description":"Account global key"}},{"name":"orderID","in":"query","required":false,"description":"Order id","schema":{"type":"string","description":"Order id"}},{"name":"orderReference","in":"query","required":false,"description":"Order Reference","schema":{"type":"string","description":"Order Reference"}},{"name":"subscriptionId","in":"query","required":false,"description":"Subscription ID","schema":{"type":"string","description":"Subscription ID"}},{"name":"products","in":"query","required":false,"description":"Product ID","schema":{"type":"string","description":"Product ID"}},{"name":"subscriptions","in":"query","required":false,"description":"\"active\", \"ended\", \"canceled\", \"started\" will return accounts with subscriptions in the corresponding state","schema":{"type":"string","description":"\"active\", \"ended\", \"canceled\", \"started\" will return accounts with subscriptions in the corresponding state"}},{"name":"refunds","in":"query","required":false,"description":"true","schema":{"type":"string","description":"true"}},{"name":"limit","in":"query","required":false,"description":"integer value indicating the maximum number of records to be returned Or, when used together with page, the maximum number of records to…","schema":{"type":"number","description":"integer value indicating the maximum number of records to be returned Or, when used together with page, the maximum number of records to…"}},{"name":"page","in":"query","required":false,"description":"Integer value that must be used in conjunction with limit to specify which page of results should be returned","schema":{"type":"number","description":"Integer value that must be used in conjunction with limit to specify which page of results should be 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:fastspring/accounts-create-new-account":{"post":{"operationId":"ecommerce_fastspring_accounts_create_new_account","summary":"Create an account","description":"POST /accounts","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:fastspring/coupons-create-new-coupon":{"post":{"operationId":"ecommerce_fastspring_coupons_create_new_coupon","summary":"Create a coupon","description":"POST /coupons","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:fastspring/coupons-get-details":{"get":{"operationId":"ecommerce_fastspring_coupons_get_details","summary":"Retrieve coupon details","description":"GET /coupons/{coupon_id}","tags":["ecommerce"],"parameters":[{"name":"coupon_id","in":"query","required":true,"description":"Coupon Id","schema":{"type":"string","description":"Coupon 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:fastspring/coupons-assign-codes-to-coupon":{"post":{"operationId":"ecommerce_fastspring_coupons_assign_codes_to_coupon","summary":"Assign codes to a coupon","description":"POST /coupons/{coupon_id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["coupon_id","body"],"properties":{"coupon_id":{"type":"string","description":"Coupon 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:fastspring/coupons-get-codes-assigned-to-coupon":{"get":{"operationId":"ecommerce_fastspring_coupons_get_codes_assigned_to_coupon","summary":"Get coupon codes assigned to a coupon","description":"GET /coupons/{coupon_id}/codes","tags":["ecommerce"],"parameters":[{"name":"coupon_id","in":"query","required":true,"description":"Coupon Id","schema":{"type":"string","description":"Coupon 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:fastspring/coupons-delete-associated-codes":{"post":{"operationId":"ecommerce_fastspring_coupons_delete_associated_codes","summary":"Delete all codes associated with a coupon","description":"DELETE /coupons/{coupon_id}/codes","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["coupon_id"],"properties":{"coupon_id":{"type":"string","description":"Coupon 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:fastspring/events-get-processed-events":{"get":{"operationId":"ecommerce_fastspring_events_get_processed_events","summary":"Get processed events","description":"GET /events/processed","tags":["ecommerce"],"parameters":[{"name":"days","in":"query","required":true,"schema":{"type":"integer"}}],"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:fastspring/events-get-unprocessed-events":{"get":{"operationId":"ecommerce_fastspring_events_get_unprocessed_events","summary":"Get unprocessed events","description":"GET /events/unprocessed","tags":["ecommerce"],"parameters":[{"name":"begin","in":"query","required":true,"schema":{"type":"integer"}}],"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:fastspring/events-update-event-by-id":{"post":{"operationId":"ecommerce_fastspring_events_update_event_by_id","summary":"Update an event","description":"POST /events/{event_id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["event_id","body"],"properties":{"event_id":{"type":"string","description":"Event 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:fastspring/orders-get-by-id":{"get":{"operationId":"ecommerce_fastspring_orders_get_by_id","summary":"Get orders by ID","description":"GET /orders/{order_id}","tags":["ecommerce"],"parameters":[{"name":"order_id","in":"query","required":true,"description":"Order Id","schema":{"type":"string","description":"Order 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:fastspring/orders-get-by-product-path":{"get":{"operationId":"ecommerce_fastspring_orders_get_by_product_path","summary":"Get orders by product path","description":"GET /orders?products={product_path}&limit={limit}&page={page}","tags":["ecommerce"],"parameters":[{"name":"product_path","in":"query","required":true,"description":"Product path","schema":{"type":"string","description":"Product path"}},{"name":"limit","in":"query","required":true,"description":"integer limits the number of order records returned per page (default is 50 records)","schema":{"type":"number","description":"integer limits the number of order records returned per page (default is 50 records)"}},{"name":"page","in":"query","required":true,"description":"specifies page number of results to be returned; used together with limit to control pagination","schema":{"type":"number","description":"specifies page number of results to be returned; used together with limit to control pagination"}}],"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:fastspring/orders-get-by-date-range":{"get":{"operationId":"ecommerce_fastspring_orders_get_by_date_range","summary":"Get orders by date range","description":"GET /orders?begin={begin_date}&end={end_date}&limit={limit}&page={page}","tags":["ecommerce"],"parameters":[{"name":"begin_date","in":"query","required":true,"description":"filters results to include transactions after the specified begin date (must be at least one day before the specified end date), the…","schema":{"type":"string","description":"filters results to include transactions after the specified begin date (must be at least one day before the specified end date), the…"}},{"name":"end_date","in":"query","required":true,"description":"filters results to include transactions before the specified end date, the format must be MM/DD/YY","schema":{"type":"string","description":"filters results to include transactions before the specified end date, the format must be MM/DD/YY"}},{"name":"limit","in":"query","required":true,"description":"integer limits the number of order records returned per page (default is 50 records)","schema":{"type":"number","description":"integer limits the number of order records returned per page (default is 50 records)"}},{"name":"page","in":"query","required":true,"description":"specifies page number of results to be returned; used together with limit to control pagination","schema":{"type":"number","description":"specifies page number of results to be returned; used together with limit to control pagination"}}],"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:fastspring/orders-get-by-product-path-and-date-range":{"get":{"operationId":"ecommerce_fastspring_orders_get_by_product_path_and_date_range","summary":"Get orders by product path AND date range","description":"GET /orders?products={product_path}&begin={begin_date}&end={end_date}","tags":["ecommerce"],"parameters":[{"name":"product_path","in":"query","required":true,"description":"Product path","schema":{"type":"string","description":"Product path"}},{"name":"begin_date","in":"query","required":true,"description":"filters results to include transactions after the specified begin date (must be at least one day before the specified end date), the…","schema":{"type":"string","description":"filters results to include transactions after the specified begin date (must be at least one day before the specified end date), the…"}},{"name":"end_date","in":"query","required":true,"description":"filters results to include transactions before the specified end date, the format must be yyyy-mm-dd","schema":{"type":"string","description":"filters results to include transactions before the specified end date, the format must be yyyy-mm-dd"}},{"name":"limit","in":"query","required":false,"description":"integer limits the number of order records returned per page (default is 50 records)","schema":{"type":"number","description":"integer limits the number of order records returned per page (default is 50 records)"}},{"name":"page","in":"query","required":false,"description":"specifies page number of results to be returned; used together with limit to control pagination","schema":{"type":"number","description":"specifies page number of results to be returned; used together with limit to control pagination"}}],"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:fastspring/orders-get-by-end-date":{"get":{"operationId":"ecommerce_fastspring_orders_get_by_end_date","summary":"Get orders by end date","description":"GET /orders?end={end_date}","tags":["ecommerce"],"parameters":[{"name":"end_date","in":"query","required":true,"description":"filters results to include transactions before the specified end date, the format must be MM/DD/YY","schema":{"type":"string","description":"filters results to include transactions before the specified end date, the format must be MM/DD/YY"}}],"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:fastspring/orders-get-orders-with-returns":{"get":{"operationId":"ecommerce_fastspring_orders_get_orders_with_returns","summary":"Get orders with returns only","description":"GET /orders?begin={begin_date}&end={end_date}&returns={return}","tags":["ecommerce"],"parameters":[{"name":"begin_date","in":"query","required":true,"description":"filters results to include transactions after the specified begin date (must be at least one day before the specified end date), the…","schema":{"type":"string","description":"filters results to include transactions after the specified begin date (must be at least one day before the specified end date), the…"}},{"name":"end_date","in":"query","required":true,"description":"filters results to include transactions before the specified end date, the format must be MM/DD/YY","schema":{"type":"string","description":"filters results to include transactions before the specified end date, the format must be MM/DD/YY"}},{"name":"return","in":"query","required":true,"schema":{"type":"boolean"}}],"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:fastspring/orders-update-tags-and-attributes":{"post":{"operationId":"ecommerce_fastspring_orders_update_tags_and_attributes","summary":"Update order tags and attributes","description":"POST /orders","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:fastspring/products-get-by-product-path":{"get":{"operationId":"ecommerce_fastspring_products_get_by_product_path","summary":"Get products by path","description":"GET /products/{product_path}","tags":["ecommerce"],"parameters":[{"name":"product_path","in":"query","required":true,"description":"Product path","schema":{"type":"string","description":"Product path"}}],"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:fastspring/products-get-all-product-ids":{"get":{"operationId":"ecommerce_fastspring_products_get_all_product_ids","summary":"Get all product IDs","description":"GET /products","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:fastspring/products-create-and-update":{"post":{"operationId":"ecommerce_fastspring_products_create_and_update","summary":"Create and update products","description":"POST /products","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:fastspring/products-get-all-offers-by-type":{"get":{"operationId":"ecommerce_fastspring_products_get_all_offers_by_type","summary":"Get all offers for a product by offer type","description":"GET /products/offers/{product_path}","tags":["ecommerce"],"parameters":[{"name":"product_path","in":"query","required":true,"description":"Product path","schema":{"type":"string","description":"Product path"}},{"name":"type","in":"query","required":false,"description":"Offer Type","schema":{"type":"string","description":"Offer Type"}}],"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:fastspring/products-create-or-update-offers":{"post":{"operationId":"ecommerce_fastspring_products_create_or_update_offers","summary":"Create or Update Product offers","description":"POST /products/offers/{product_path}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["product_path","body"],"properties":{"product_path":{"type":"string","description":"Product path"},"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:fastspring/products-get-all-product-prices":{"get":{"operationId":"ecommerce_fastspring_products_get_all_product_prices","summary":"Get all product prices","description":"GET /products/price","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:fastspring/products-get-price-by-id":{"get":{"operationId":"ecommerce_fastspring_products_get_price_by_id","summary":"Get a product price","description":"GET /products/price/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"Product Id","schema":{"type":"string","description":"Product 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:fastspring/products-get-all-product-prices-by-country":{"get":{"operationId":"ecommerce_fastspring_products_get_all_product_prices_by_country","summary":"Get all product prices in specified country","description":"GET /products/price?country={country}","tags":["ecommerce"],"parameters":[{"name":"country","in":"query","required":true,"description":"Country code","schema":{"type":"string","description":"Country code"}}],"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:fastspring/products-get-all-product-prices-by-country-and-currency":{"get":{"operationId":"ecommerce_fastspring_products_get_all_product_prices_by_country_and_currency","summary":"Get all product prices in specified country and currency","description":"GET /products/price?country={country}&currency={currency}","tags":["ecommerce"],"parameters":[{"name":"country","in":"query","required":true,"description":"Country code","schema":{"type":"string","description":"Country code"}},{"name":"currency","in":"query","required":true,"description":"Currency code","schema":{"type":"string","description":"Currency code"}}],"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:fastspring/products-get-product-price-by-country-and-currency":{"get":{"operationId":"ecommerce_fastspring_products_get_product_price_by_country_and_currency","summary":"Get a product price in a specified country and currency","description":"GET /products/price/{id}?country={country}&currency={currency}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"Product Id","schema":{"type":"string","description":"Product Id"}},{"name":"country","in":"query","required":true,"description":"Country code","schema":{"type":"string","description":"Country code"}},{"name":"currency","in":"query","required":true,"description":"currency code","schema":{"type":"string","description":"currency code"}}],"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:fastspring/products-get-product-price-by-country":{"get":{"operationId":"ecommerce_fastspring_products_get_product_price_by_country","summary":"Get a product price in a specified country","description":"GET /products/price/{id}?country={country}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"Product Id","schema":{"type":"string","description":"Product Id"}},{"name":"country","in":"query","required":true,"description":"country code","schema":{"type":"string","description":"country code"}}],"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:fastspring/products-delete-product-by-id":{"post":{"operationId":"ecommerce_fastspring_products_delete_product_by_id","summary":"Delete products","description":"DELETE /products/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Product 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:fastspring/returns-get-by-id":{"get":{"operationId":"ecommerce_fastspring_returns_get_by_id","summary":"Get returns","description":"GET /returns/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"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:fastspring/returns-create-new-return":{"post":{"operationId":"ecommerce_fastspring_returns_create_new_return","summary":"Create returns","description":"POST /returns","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:fastspring/sessions-create-new-session":{"post":{"operationId":"ecommerce_fastspring_sessions_create_new_session","summary":"Create a session","description":"POST /sessions","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:fastspring/subscriptions-get-all-subscriptions":{"get":{"operationId":"ecommerce_fastspring_subscriptions_get_all_subscriptions","summary":"Get all subscriptions","description":"GET /subscriptions","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:fastspring/subscriptions-update-subscription":{"post":{"operationId":"ecommerce_fastspring_subscriptions_update_subscription","summary":"Update a subscription","description":"POST /subscriptions","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:fastspring/subscriptions-preview-plan-change":{"post":{"operationId":"ecommerce_fastspring_subscriptions_preview_plan_change","summary":"Preview a proposed prorated plan change","description":"POST /subscriptions/estimate","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:fastspring/subscriptions-get-by-id":{"get":{"operationId":"ecommerce_fastspring_subscriptions_get_by_id","summary":"Get a subscription","description":"GET /subscriptions/{subscription_id}","tags":["ecommerce"],"parameters":[{"name":"subscription_id","in":"query","required":true,"description":"Subscription Id","schema":{"type":"string","description":"Subscription Id"}},{"name":"accountId","in":"query","required":false,"description":"specify a specific customer account whose subscriptions you want to retrieve","schema":{"type":"string","description":"specify a specific customer account whose subscriptions you want to retrieve"}},{"name":"begin","in":"query","required":false,"description":"specify the beginning of a date range in yyyy-mm-dd-format","schema":{"type":"string","description":"specify the beginning of a date range in yyyy-mm-dd-format"}},{"name":"end","in":"query","required":false,"description":"specify the end of a date range in yyyy-mm-dd format","schema":{"type":"string","description":"specify the end of a date range in yyyy-mm-dd format"}},{"name":"event","in":"query","required":false,"description":"In each event, use begin and end to retrieve the corresponding subscriptions","schema":{"type":"string","description":"In each event, use begin and end to retrieve the corresponding subscriptions"}},{"name":"products","in":"query","required":false,"description":"enter one or more product ids to filter the response to include only subscriptions for the specified products; use commas to separate…","schema":{"type":"string","description":"enter one or more product ids to filter the response to include only subscriptions for the specified products; use commas to separate…"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"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:fastspring/subscriptions-resume-subscription":{"post":{"operationId":"ecommerce_fastspring_subscriptions_resume_subscription","summary":"Resume a canceled subscription","description":"POST /subscriptions/{subscription_id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscription_id","body"],"properties":{"subscription_id":{"type":"string","description":"Subscription 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:fastspring/subscriptions-cancel-subscription-by-id":{"post":{"operationId":"ecommerce_fastspring_subscriptions_cancel_subscription_by_id","summary":"Cancel a subscription","description":"DELETE /subscriptions/{subscription_id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscription_id"],"properties":{"subscription_id":{"type":"string","description":"Subscription 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:fastspring/subscriptions-get-entries":{"get":{"operationId":"ecommerce_fastspring_subscriptions_get_entries","summary":"Get subscription entries","description":"GET /subscriptions/{subscription_id}/entries","tags":["ecommerce"],"parameters":[{"name":"subscription_id","in":"query","required":true,"description":"Subscription Id","schema":{"type":"string","description":"Subscription 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:fastspring/subscriptions-rebill-managed-subscription":{"post":{"operationId":"ecommerce_fastspring_subscriptions_rebill_managed_subscription","summary":"Rebill a managed subscription","description":"POST /subscriptions/charge","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:fastspring/subscriptions-pause-subscription":{"post":{"operationId":"ecommerce_fastspring_subscriptions_pause_subscription","summary":"Pause a subscription","description":"POST /subscriptions/{subscription_id}/pause","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscription_id","body"],"properties":{"subscription_id":{"type":"string","description":"Subscription 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:fastspring/subscriptions-remove-scheduled-pause":{"post":{"operationId":"ecommerce_fastspring_subscriptions_remove_scheduled_pause","summary":"Remove a scheduled pause","description":"POST /subscriptions/{subscription_id}/resume","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscription_id"],"properties":{"subscription_id":{"type":"string","description":"Subscription 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:fastspring/subscriptions-convert-expired-trial-without-payment-method":{"post":{"operationId":"ecommerce_fastspring_subscriptions_convert_expired_trial_without_payment_method","summary":"Convert an Expired Trial Subscription without a Payment Method","description":"POST /subscriptions/{subscription_id}/convert","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscription_id"],"properties":{"subscription_id":{"type":"string","description":"Subscription 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:fastspring/subscriptions-get-plan-change-history":{"get":{"operationId":"ecommerce_fastspring_subscriptions_get_plan_change_history","summary":"Get subscription plan change history","description":"GET /subscriptions/{subscription_id}/history","tags":["ecommerce"],"parameters":[{"name":"subscription_id","in":"query","required":true,"description":"Subscription Id","schema":{"type":"string","description":"Subscription Id"}},{"name":"scope","in":"query","required":false,"description":"Type of items to return","schema":{"type":"string","enum":["base_plan","add_on"],"description":"Type of items to return"}},{"name":"order","in":"query","required":false,"description":"Sort Order for the results","schema":{"type":"string","enum":["increasing","decreasing"],"description":"Sort Order for the results"}}],"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:fastspring/quotes-get-by-id":{"get":{"operationId":"ecommerce_fastspring_quotes_get_by_id","summary":"Get a quote","description":"GET /quotes/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"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:fastspring/quotes-update-quote-by-id":{"post":{"operationId":"ecommerce_fastspring_quotes_update_quote_by_id","summary":"Update a quote","description":"PUT /quotes/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"string","description":"A unique identifier for the quote"},"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:fastspring/quotes-delete-quote-by-id":{"post":{"operationId":"ecommerce_fastspring_quotes_delete_quote_by_id","summary":"Delete a quote","description":"DELETE /quotes/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"A unique identifier for the quote"}}}}}},"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:fastspring/quotes-cancel-quote-by-id":{"post":{"operationId":"ecommerce_fastspring_quotes_cancel_quote_by_id","summary":"Cancel a quote","description":"POST /quotes/{id}/cancel","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"A unique identifier for the quote"}}}}}},"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:fastspring/quotes-get-all-quotes":{"get":{"operationId":"ecommerce_fastspring_quotes_get_all_quotes","summary":"Get all quotes","description":"GET /quotes","tags":["ecommerce"],"parameters":[{"name":"createdBegin","in":"query","required":false,"description":"The format must be YYYY-MM-DD","schema":{"type":"string","description":"The format must be YYYY-MM-DD"}},{"name":"createdEnd","in":"query","required":false,"description":"The format must be YYYY-MM-DD","schema":{"type":"string","description":"The format must be YYYY-MM-DD"}},{"name":"createdEmail","in":"query","required":false,"schema":{"type":"string"}},{"name":"expiresBegin","in":"query","required":false,"description":"The format must be YYYY-MM-DD","schema":{"type":"string","description":"The format must be YYYY-MM-DD"}},{"name":"expiresEnd","in":"query","required":false,"description":"The format must be YYYY-MM-DD","schema":{"type":"string","description":"The format must be YYYY-MM-DD"}},{"name":"searchParam","in":"query","required":false,"schema":{"type":"string"}},{"name":"expiredBefore","in":"query","required":false,"description":"The format must be YYYY-MM-DD","schema":{"type":"string","description":"The format must be YYYY-MM-DD"}},{"name":"onlyQuoteId","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"statuses","in":"query","required":false,"schema":{"type":"array"}}],"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:fastspring/quotes-create-new-quote":{"post":{"operationId":"ecommerce_fastspring_quotes_create_new_quote","summary":"Create a quote","description":"POST /quotes","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:fastspring/webhooks-update-webhook-key-secret":{"post":{"operationId":"ecommerce_fastspring_webhooks_update_webhook_key_secret","summary":"Update a webhook key secret","description":"POST /webhooks/keys","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:fastspring/data-generate-subscription-report":{"post":{"operationId":"ecommerce_fastspring_data_generate_subscription_report","summary":"Generates a subscription report","description":"POST /data/v1/subscription","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:fastspring/data-generate-revenue-report":{"post":{"operationId":"ecommerce_fastspring_data_generate_revenue_report","summary":"Generates a revenue report","description":"POST /data/v1/revenue","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:fastspring/data-get-job-information":{"get":{"operationId":"ecommerce_fastspring_data_get_job_information","summary":"Get job information based on a job ID.","description":"GET /data/v1/jobs/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"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:fastspring/data-get-job-information-2":{"get":{"operationId":"ecommerce_fastspring_data_get_job_information_2","summary":"Get information from a job listing.","description":"GET /data/v1/jobs","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:fastspring/data-reset-cache-for-service-end-points":{"get":{"operationId":"ecommerce_fastspring_data_reset_cache_for_service_end_points","summary":"Reset cache for data service end points.","description":"GET /data/v1/util/cache","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:fastspring/data-download-report-by-id":{"get":{"operationId":"ecommerce_fastspring_data_download_report_by_id","summary":"Download a report based on job ID.","description":"GET /data/v1/downloads/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"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"}}},"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"}}}}}}}