Skip to navigation

API v2 Deprecation and Invoice Updates

Deprecate v2 APIs Replaced by v3 APIs – As previously communicated, some of our v2 APIs have been superseded by v3 versions and were scheduled for deprecation. These v2 APIs have now been officially deprecated and no longer supported by Megaport:

  • Get MVE Price: GET /v2/pricebook/mve
  • Get VXC Price: GET /v2/pricebook/vxc
  • Validate Orders: POST /v2/networkdesign/validate
  • Buy Services: POST /v2/networkdesign/buy
  • Update VXC Details: PUT /v2/product/vxc/{productUid}
  • Delete Services: POST /v2/product/{productUid}/action/{action}

For more information, see API v2 Shutdown FAQs.

Updated Invoice APIs from v2 to v3 – The invoice APIs have been updated from v2 to v3, and to support companyUid.

  • GET /v3/company/${companyUid}/invoice/supplierId/{supplierId}?fromDate=${fromDate}&toDate=${toDate}
  • GET /v3/company/${companyUid}/invoice/${invoiceId}
  • GET /v3/company/${companyUid}/invoice/${invoiceId}/pdf
  • GET /v3/company/${companyUid}/invoice/${invoiceId}/csv

Resource Tags Added to Invoice Report – Resource tags for services have been added to the Invoices report (CSV only). This allows you to export tagging information for external analysis.

Added Diversity Zone in Response for CSPs – Previously customers who wanted to connect to a CSP were not able to see the diversity zone they were connecting to when reviewing available ports. The diversity zone information has now been added to the response that is returned so customers can determine the diversity zone they are connecting to for a given service. For example, the response that is returned in this request will now include diversity zone: /v2/secure/google/{pairing_key}.