API Change Log – June 21, 2023

Updates for this release.

Inventory

  • API endpoint: {apiurl} /v2/inventory/purchase_orders/{purchase_order_id}?expand={deliveries_info}_

  • Scenario: This API fetches the details of a purchase order.

  • Earlier behavior: NA

  • New behavior: This API fetches the details of a purchase order.

  • API documentation link:


  • API endpoint: {apiurl} /v1/inventory/purchase_orders/{purchase_order_id}/deliveries/{delivery_id}_

  • Scenario: This API fetches the details of a purchase order.

  • Earlier behavior: NA

  • New behavior: This API fetches the details of a purchase order.

  • API documentation link:


  • API endpoint: {apiurl} /v1/inventory/purchase_orders_

  • Scenario: This API creates purchase order for a center.

  • Earlier behavior: NA

  • New behavior: This API creates purchase order for a center.

  • API documentation link:


  • API endpoint: {apiurl} /v1/Centers/center_id/tax_groups_

  • Scenario: Addition of a flagged enumerator to the API to get the list of taxes associated with specific set of items.

  • Earlier behavior: The API used to fetch all the tax groups associated to all the items at a center.

  • New behavior: This API will now provide the list based on value specified in the flagged enum (default is all).

  • API documentation link:


  • API endpoint: {apiurl} /v1/inventory/purchase_orders/{purchase_order_id}_

  • Scenario: This API deletes a purchase order for a center.

  • Earlier behavior: NA

  • New behavior: This API deletes a purchase order for a center.

  • API documentation link:


  • API endpoint: {apiurl} /v1/inventory/purchase_orders/{purchase_order_id}/status_

  • Scenario: This API updates the purchase order status

  • Earlier behavior: NA

  • New behavior: This API updates the purchase order status.

  • API documentation link:


  • API endpoint: {apiurl} /v1/inventory/purchase_orders/{purchase_order_id}/deliveries_

  • Scenario: This API creates partial or full delivery for a purchase order

  • Earlier behavior: NA

  • New behavior: This API creates partial or full delivery for a purchase order.

  • API documentation link:


  • API endpoint: {apiurl}/_v1/inventory/purchase_orders/{purchase_order_id}

  • Scenario: This API updates purchase order for a center

  • Earlier behavior: NA

  • New behavior: This API updates purchase order for a center.

  • API documentation link:

Centers

  • API endpoint: {api_url} /v1/Centers
  • Scenario: Fixed a spelling mistake in the response parameter in the API
  • Earlier behavior: Property name was spelled “lattitude”
  • New behavior: Changed the spelling to “latitude”.
  • API documentation link: https://docs.zenoti.com/reference/list-all-centers

Invoices

  • API endpoint: {apiurl}/v1/invoices/{invoice_id}/invoice_items/{invoice_item_id}/refund_amount_break_up?center_id={center_id}&refund_amount={refund_amount}_
  • Scenario: This API retrieves the price and tax to show in the refund amount textbox.
  • Earlier behavior: NA
  • New behavior: This API displays the tax refund amount on the refund UI screen.
  • API documentation link: