Get Product Price (v4)
Returns the pricing information for a Megaport service specified by the productUid.
This configuration can be for an entirely new prospective product or for an existing product.
When fetching pricing for an existing product, you can override certain parameters, such as speed or term, to see how much your current service would cost if you were to change the speed or reterm the service.
You can return pricing for these services:
-
Port
-
VXC
-
Megaport Internet
-
MCR
-
MVE
-
IX
-
IP Address
The request will be rejected if the product type is not supported.
The configurations of add-ons can be passed as part of the request Body and the add-on pricing will be included in the response.
The parameters are defined in the Body of the request:
-
productType- The type of product for the pricing request. Valid values include: MEGAPORT, VXC, MCR2, MVE, IX, IP_ADDRESS (String). -
currency- The ISO 4217 currency code to use for pricing. For example, the US dollar is USD. If not provided, defaults to the existing product’s currency. If the product is not specified, currency must be provided. For more information, see Country Currency Codes. (String) -
LocationId(Port/MCR/MVE/IP Address) - The id of location where the service will be deployed (Integer - Required). -
Vendor(MVE) - The provider name to use in the price calculations. For example,Cisco(String). -
Size(MVE) - The MVE size to use in price calculations. If both size and mveLabel are supplied, the endpoint will only accept mveLabel as the MVE size (String). -
mveLabel(MVE) - The size of the VM. The size defines the MVE specifications including number of cores, bandwidth, and number of connections (String). -
portLocationId(IX) - The port location identifier for the IX connection (Integer - Required). -
ixType(IX) - The type of Internet Exchange, for example, Brisbane IX (String - Required). -
ipBlock(IP Address) - The subnet size to specify how many IP addresses are required. Valid values include: /24, /25, /26, /27, /28, /29, /30 (String - Required). -
aLocationId(VXC) - The id of the A-End location of the VXC (Required - Integer). -
bLocationId- (VXC) - The id of the B-End location of the VXC (Required - Integer). -
speed- The service speed in Mbps (Integer). -
aEndProductType(VXC) - The product type of the A-End service of the VXC. Valid values include: MEGAPORT, VXC, MCR2, MVE, IX, IP_ADDRESS (String). -
connectType(VXC) - The connect type of the VXC, which is typically the same as the connect type of the B-End service. Valid values include: MVE, AMSIX, AWS (for Hosted VIF), AWSHC (for Hosted Connection), AZURE, GOOGLE, ORACLE, OUTSCALE, ALIBABA, and IBM. Use connectType=TRANSIT for Ports that support a Megaport Internet connection. Use connectType=FRANCEIX for Ports that you can create a VXC to in order to connect to France-IX (String). -
productUid- The unique identifier for the product (String). -
term- The contract term in months (Integer). -
addOns- List of add-on price book requests (Array).
Query parameters
The Id of the company that will own the product. If not provided, it will default to the authenticated user’s company. This can be supplied with productUid to fetch the pricing of an existing product, but in the context of another company. (Optional - integer <int32> >= 1)
Request
Response
Get Product Price (v4) - Port / Get Product Price (v4) - Port 2 / Get Product Price (v4) - VXC / Get Product Price (v4) - MCR / Get Product Price (v4) - MVE / Get Product Price (v4) - IX / Get Product Price (v4) - VXC / Get Product Price (v4) - Port / Get Product Price (v4) - MCR / Get Product Price (v4) - Port 2 / Get Product Price (v4) - IX / Get Product Price (v4) - MVE