APIs & Integrations

MFreitas03
Member | Elite Partner
Member | Elite Partner

Cant publish a quote via API

Hi! I'm trying to creae and publish a quote via API, the creation goes normal but when I try to publish it (setting its status to "APPROVED" on creation or setting it by the update URL when created on draft) I cant. The quote stay on "publishing quote - This process may take up to 15 minutes." forever. When I do it using 2 reqs on postman (one that creates it on draft and another that publishes) it works normally, but we cant keep using postman for what we need.Captura de tela 2024-03-28 091203.png

0 Upvotes
1 Reply 1
HMir
Member

Cant publish a quote via API


@MFreitas03 wrote:

Hi! I'm trying to creae and publish a quote via API, the creation goes normal but when I try to publish it (setting its status to "APPROVED" on creation or setting it by the update URL when created on draft) I cant. The quote stay on "publishing quote - This process may take up to 15 minutes." forever. When I do it using 2 reqs on postman (one that creates it on draft and another that publishes) it works normally, but we cant keep using postman for what we need.Captura de tela 2024-03-28 091203.png


Carefully reviewing the API documentation to ensure that you're using the correct endpoints, headers, and parameters for creating and publishing quotes.

Pay close attention to any specific requirements or limitations outlined in the documentation. Double-check the payload data you're sending when creating and updating the quote status to ensure all necessary fields are included and the status transition is properly configured from draft to approved.

Additionally, implement error handling in your code to capture any response errors or status codes returned by the API, which can provide insights into why the publishing process is failing.

0 Upvotes