{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources. Success responses include a `source` block to cite. Apizie Finance endpoints (SEC EDGAR, FRED, ECB, U.S. Treasury, GLEIF, World Bank, official:*) need a Finance plan."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/business:hubspot-commerce-price-books/get-commerce-price-books-2026-09-price-books-commerce-price":{"get":{"operationId":"business_hubspot_commerce_price_books_get_commerce_price_books_2026_09_price_books_commerce_price","summary":"Retrieve price books","description":"GET /commerce/price-books/2026-09/price-books","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"after","in":"query","required":false,"description":"The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged…","schema":{"type":"string","description":"The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged…"}},{"name":"archived","in":"query","required":false,"description":"Whether to return only results that have been archived.","schema":{"type":"boolean","description":"Whether to return only results that have been archived."}},{"name":"limit","in":"query","required":false,"description":"The maximum number of results to display per page.","schema":{"type":"integer","description":"The maximum number of results to display per page."}}],"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/business:hubspot-commerce-price-books/post-commerce-price-books-2026-09-price-books":{"post":{"operationId":"business_hubspot_commerce_price_books_post_commerce_price_books_2026_09_price_books","summary":"Create price book","description":"POST /commerce/price-books/2026-09/price-books","tags":["business"],"x-apizie-access":"write","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/business:hubspot-commerce-price-books/get-commerce-price-books-2026-09-price-books-price-book-id":{"get":{"operationId":"business_hubspot_commerce_price_books_get_commerce_price_books_2026_09_price_books_price_book_id","summary":"Retrieve price book","description":"GET /commerce/price-books/2026-09/price-books/{priceBookId}","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"priceBookId","in":"query","required":true,"description":"The unique identifier of the price book to retrieve.","schema":{"type":"integer","description":"The unique identifier of the price book to retrieve."}},{"name":"archived","in":"query","required":false,"description":"Whether to return only results that have been archived.","schema":{"type":"boolean","description":"Whether to return only results that have been archived."}}],"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/business:hubspot-commerce-price-books/patch-commerce-price-books-2026-09-price-books-price-book-id":{"post":{"operationId":"business_hubspot_commerce_price_books_patch_commerce_price_books_2026_09_price_books_price_book_id","summary":"Update price book","description":"PATCH /commerce/price-books/2026-09/price-books/{priceBookId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["priceBookId","body"],"properties":{"priceBookId":{"type":"integer","description":"The unique identifier of the price book to update."},"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/business:hubspot-commerce-price-books/delete-commerce-price-books-2026-09-price-books-price-book-i":{"post":{"operationId":"business_hubspot_commerce_price_books_delete_commerce_price_books_2026_09_price_books_price_book_i","summary":"Delete price book","description":"DELETE /commerce/price-books/2026-09/price-books/{priceBookId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["priceBookId"],"properties":{"priceBookId":{"type":"integer","description":"The unique identifier of the price book to delete."}}}}}},"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/business:hubspot-commerce-price-books/post-commerce-price-books-2026-09-price-books-price-book-id":{"post":{"operationId":"business_hubspot_commerce_price_books_post_commerce_price_books_2026_09_price_books_price_book_id","summary":"Activate price book","description":"POST /commerce/price-books/2026-09/price-books/{priceBookId}/activate","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["priceBookId"],"properties":{"priceBookId":{"type":"integer","description":"The unique identifier of the price book to activate."}}}}}},"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/business:hubspot-commerce-price-books/post-commerce-price-books-2026-09-price-books-price-book-id-2":{"post":{"operationId":"business_hubspot_commerce_price_books_post_commerce_price_books_2026_09_price_books_price_book_id_2","summary":"Deactivate price book","description":"POST /commerce/price-books/2026-09/price-books/{priceBookId}/deactivate","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["priceBookId"],"properties":{"priceBookId":{"type":"integer","description":"The unique identifier of the price book to deactivate."}}}}}},"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/business:hubspot-commerce-price-books/get-commerce-price-books-2026-09-price-books-price-book-id-i":{"get":{"operationId":"business_hubspot_commerce_price_books_get_commerce_price_books_2026_09_price_books_price_book_id_i","summary":"List price book items","description":"GET /commerce/price-books/2026-09/price-books/{priceBookId}/items","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"priceBookId","in":"query","required":true,"description":"The unique identifier of the price book to retrieve items for.","schema":{"type":"integer","description":"The unique identifier of the price book to retrieve items for."}},{"name":"after","in":"query","required":false,"description":"The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged…","schema":{"type":"string","description":"The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged…"}},{"name":"limit","in":"query","required":false,"description":"The maximum number of results to display per page.","schema":{"type":"integer","description":"The maximum number of results to display per page."}},{"name":"properties","in":"query","required":false,"description":"A list of property names to include in the response.","schema":{"type":"array","description":"A list of property names to include in the response."}}],"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/business:hubspot-commerce-price-books/post-commerce-price-books-2026-09-price-books-price-book-id-3":{"post":{"operationId":"business_hubspot_commerce_price_books_post_commerce_price_books_2026_09_price_books_price_book_id_3","summary":"Add price book items","description":"POST /commerce/price-books/2026-09/price-books/{priceBookId}/items","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["priceBookId","body"],"properties":{"priceBookId":{"type":"integer","description":"The unique identifier of the price book to which items will be added."},"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/business:hubspot-commerce-price-books/post-commerce-price-books-2026-09-price-books-price-book-id-4":{"post":{"operationId":"business_hubspot_commerce_price_books_post_commerce_price_books_2026_09_price_books_price_book_id_4","summary":"Batch archive price book items","description":"POST /commerce/price-books/2026-09/price-books/{priceBookId}/items/batch/archive","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["priceBookId","body"],"properties":{"priceBookId":{"type":"integer","description":"The unique identifier of the price book containing the items to be archived."},"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/business:hubspot-commerce-price-books/post-commerce-price-books-2026-09-price-books-price-book-id-5":{"post":{"operationId":"business_hubspot_commerce_price_books_post_commerce_price_books_2026_09_price_books_price_book_id_5","summary":"Batch create price book items","description":"POST /commerce/price-books/2026-09/price-books/{priceBookId}/items/batch/create","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["priceBookId","body"],"properties":{"priceBookId":{"type":"integer","description":"The unique identifier of the price book to which the items will be added."},"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/business:hubspot-commerce-price-books/post-commerce-price-books-2026-09-price-books-price-book-id-6":{"post":{"operationId":"business_hubspot_commerce_price_books_post_commerce_price_books_2026_09_price_books_price_book_id_6","summary":"Batch update price book items","description":"POST /commerce/price-books/2026-09/price-books/{priceBookId}/items/batch/update","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["priceBookId","body"],"properties":{"priceBookId":{"type":"integer","description":"The unique identifier of the price book containing the items to update."},"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/business:hubspot-commerce-price-books/get-commerce-price-books-2026-09-price-books-price-book-id-i-2":{"get":{"operationId":"business_hubspot_commerce_price_books_get_commerce_price_books_2026_09_price_books_price_book_id_i_2","summary":"Retrieve price book item","description":"GET /commerce/price-books/2026-09/price-books/{priceBookId}/items/{priceBookItemId}","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"priceBookId","in":"query","required":true,"description":"The unique identifier of the price book containing the item.","schema":{"type":"integer","description":"The unique identifier of the price book containing the item."}},{"name":"priceBookItemId","in":"query","required":true,"description":"The unique identifier of the item within the price book.","schema":{"type":"integer","description":"The unique identifier of the item within the price book."}},{"name":"archived","in":"query","required":false,"description":"Whether to return only results that have been archived.","schema":{"type":"boolean","description":"Whether to return only results that have been archived."}},{"name":"properties","in":"query","required":false,"description":"A list of property names to include in the response.","schema":{"type":"array","description":"A list of property names to include in the response."}}],"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/business:hubspot-commerce-price-books/patch-commerce-price-books-2026-09-price-books-price-book-id-2":{"post":{"operationId":"business_hubspot_commerce_price_books_patch_commerce_price_books_2026_09_price_books_price_book_id_2","summary":"Update price book item","description":"PATCH /commerce/price-books/2026-09/price-books/{priceBookId}/items/{priceBookItemId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["priceBookId","priceBookItemId","body"],"properties":{"priceBookId":{"type":"integer","description":"The unique identifier of the price book containing the item to update."},"priceBookItemId":{"type":"integer","description":"The unique identifier of the item within the price book to update."},"archived":{"type":"boolean","description":"Whether to return only results that have been archived."},"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/business:hubspot-commerce-price-books/delete-commerce-price-books-2026-09-price-books-price-book-i-2":{"post":{"operationId":"business_hubspot_commerce_price_books_delete_commerce_price_books_2026_09_price_books_price_book_i_2","summary":"Delete price book item","description":"DELETE /commerce/price-books/2026-09/price-books/{priceBookId}/items/{priceBookItemId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["priceBookId","priceBookItemId"],"properties":{"priceBookId":{"type":"integer","description":"The unique identifier of the price book from which the item will be deleted."},"priceBookItemId":{"type":"integer","description":"The unique identifier of the item to be deleted from the price book."}}}}}},"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/business:hubspot-commerce-price-books/post-commerce-price-books-2026-09-price-books-price-book-id-7":{"post":{"operationId":"business_hubspot_commerce_price_books_post_commerce_price_books_2026_09_price_books_price_book_id_7","summary":"Validate price book","description":"POST /commerce/price-books/2026-09/price-books/{priceBookId}/validate","tags":["business"],"x-apizie-access":"read","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["priceBookId"],"properties":{"priceBookId":{"type":"integer","description":"The unique identifier of the price book to validate."}}}}}},"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":"official:company"},"data":{},"source":{"type":"object","description":"Where the data came from. Cite it.","properties":{"official":{"type":"boolean"},"provider":{"type":"string","example":"SEC EDGAR"},"publisher":{"type":"string","example":"U.S. Securities and Exchange Commission"},"url":{"type":"string","format":"uri","description":"A page a person can open to check the value"},"apiUrl":{"type":"string","format":"uri","description":"The official API URL that was called (credentials removed)"},"retrievedAt":{"type":"string","format":"date-time"},"license":{"type":"string"},"licenseUrl":{"type":"string","format":"uri"},"attribution":{"type":"string"},"notice":{"type":"string"}}},"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"}}}}}}}