Peplink Portal Docs
Starlink Requests

Create a Starlink Request

Create a Starlink request.

Required Capabilities

Starlink Manager

Request

POST/starlink/requests

Body parameters

starlinkAccountRefIdstringrequired

Reference ID of the Starlink account to create the request for.

typeenumrequired

Type of Starlink request to create.

  • SERVICE_LINE_CREATE — Request to create a new service line.
  • SERVICE_LINE_CHANGE_PLAN — Request to change the plan of an existing service line.
  • SERVICE_LINE_OPT_IN — Request to opt in to a service line.
  • SERVICE_LINE_TOPUP — Request to top up a service line.
  • SERVICE_LINE_REACTIVATE — Request to reactivate a service line.
  • DEVICE_ORDER — Request to order a new device.
itemsobject arrayoptionalconditionally required

When is this required?

Required if type is SERVICE_LINE_CREATE, SERVICE_LINE_CHANGE_PLAN, SERVICE_LINE_TOPUP, SERVICE_LINE_REACTIVATE, or DEVICE_ORDER.

Line items for the request. For DEVICE_ORDER, SKUs listed in the kit product's starlinkFreeRouterOptionSkus are allowed, with a total quantity from 0 to the kit quantity.

Show child attributes
items.skustringrequired

SKU of the product.

items.quantityintegerrequired

Quantity of the product. Must be at least 1, except 0 is allowed for free router SKUs.

createServiceLineDetailobjectoptionalconditionally required

When is this required?

Required if type is SERVICE_LINE_CREATE.

Details for a SERVICE_LINE_CREATE request.

Show child attributes
createServiceLineDetail.namestringrequired

Name of the service line to create.

createServiceLineDetail.starlinkAddressRefIdstringrequired

Reference ID of the Starlink address to associate with the new service line. The address must belong to the same Starlink account.

createServiceLineDetail.pendingActivationbooleanoptional

Only applies when starlinkDeviceRefIds is empty. Set to true to keep the new service line in the Pending Activation state until a Starlink device is assigned to it using the update Starlink service line API. Defaults to false.

createServiceLineDetail.starlinkDeviceRefIdsstring arrayoptional

Reference IDs of the Starlink devices to assign to the new service line. The service line activates with these devices once the request is processed. Omit or pass an empty array to assign devices later. Each device must belong to the same Starlink account, must not already be associated with a service line, and must not be included in another SERVICE_LINE_CREATE request that is pending approval or processing. Duplicate values are not allowed.

Note:

  • For LOCAL service lines, a maximum of 1 device can be assigned.
  • For GLOBAL service lines, a maximum of 2 devices can be assigned.

The service line type is determined by the starlinkServiceLineType of the SKUs in items.

changeServiceLinePlanDetailobjectoptionalconditionally required

When is this required?

Required if type is SERVICE_LINE_CHANGE_PLAN.

Details for a SERVICE_LINE_CHANGE_PLAN request.

Show child attributes
changeServiceLinePlanDetail.starlinkServiceLineRefIdstringrequired

Reference ID of the Starlink service line whose plan is being changed.

changeServiceLinePlanDetail.isDelayUpdatebooleanrequired

true to schedule the plan change to take effect at the next billing cycle. false to apply the change immediately.

optInServiceLineDetailobjectoptionalconditionally required

When is this required?

Required if type is SERVICE_LINE_OPT_IN.

Details for a SERVICE_LINE_OPT_IN request.

Show child attributes
optInServiceLineDetail.starlinkServiceLineRefIdstringrequired

Reference ID of the Starlink service line to opt in.

reactivateServiceLineDetailobjectoptionalconditionally required

When is this required?

Required if type is SERVICE_LINE_REACTIVATE.

Details for a SERVICE_LINE_REACTIVATE request.

Show child attributes
reactivateServiceLineDetail.starlinkServiceLineRefIdstringrequired

Reference ID of the Starlink service line to reactivate.

topupServiceLineDetailobjectoptionalconditionally required

When is this required?

Required if type is SERVICE_LINE_TOPUP.

Details for a SERVICE_LINE_TOPUP request.

Show child attributes
topupServiceLineDetail.starlinkServiceLineRefIdstringrequired

Reference ID of the Starlink service line to top up.

orderDeviceDetailobjectoptionalconditionally required

When is this required?

Required if type is DEVICE_ORDER.

Details for a DEVICE_ORDER request.

Show child attributes
orderDeviceDetail.shippingAddressobjectrequired

Shipping address for the device order.

Show child attributes
orderDeviceDetail.shippingAddress.companystringrequired

Company name.

orderDeviceDetail.shippingAddress.firstNamestringrequired

First name of the recipient.

orderDeviceDetail.shippingAddress.lastNamestringrequired

Last name of the recipient.

orderDeviceDetail.shippingAddress.emailstringrequired

Email address of the recipient.

orderDeviceDetail.shippingAddress.phonestringrequired

Phone number of the recipient in E.164 format (e.g. +12025550123).

orderDeviceDetail.shippingAddress.line1stringrequired

Address line 1.

orderDeviceDetail.shippingAddress.line2nullable stringoptional

Address line 2. null if not applicable.

orderDeviceDetail.shippingAddress.citystringrequired

City.

orderDeviceDetail.shippingAddress.statenullable stringoptional

State or province. null if not applicable.

orderDeviceDetail.shippingAddress.zipCodestringrequired

Postal code.

orderDeviceDetail.shippingAddress.countryCodestringrequired

ISO 3166-1 alpha-2 country code. Must match the country of the Starlink account.

requesterRemarkstringoptional

Optional remark from the requester.

Response

A json is returned in the response body with the following fields:

refIdstring

Reference ID of the Starlink request.

accountRefIdlong

Reference ID of the partner account that created the request.

parentAccountRefIdnullable long

Reference ID of the parent partner account. null if not applicable.

starlinkAccountRefIdstring

Reference ID of the Starlink account associated with this request.

typeenum

Type of the Starlink request.

  • SERVICE_LINE_CREATE — Request to create a new service line.
  • SERVICE_LINE_CHANGE_PLAN — Request to change the plan of an existing service line.
  • SERVICE_LINE_OPT_IN — Request to opt in to a service line.
  • SERVICE_LINE_TOPUP — Request to top up a service line.
  • SERVICE_LINE_REACTIVATE — Request to reactivate a service line.
  • DEVICE_ORDER — Request to order a new device.
currencynullable string

Currency used for the request. null if not applicable.

itemsobject array

Line items included in the request.

Show child attributes
items.parentItemIdnullable integer

Parent item ID. null if this item has no parent.

items.itemIdinteger

Item ID.

items.skustring

SKU of the product.

items.productNamestring

Name of the product.

items.quantityinteger

Quantity of the product.

items.originalUnitPricenumber

Original unit price before any adjustments.

items.unitPricenumber

Effective unit price.

createServiceLineDetailnullable object

Details for a SERVICE_LINE_CREATE request. null for other request types.

Show child attributes
createServiceLineDetail.namestring

Name of the service line to create.

createServiceLineDetail.starlinkAddressRefIdstring

Reference ID of the Starlink address to associate with the service line.

createServiceLineDetail.starlinkServiceLineRefIdnullable string

Reference ID of the created Starlink service line. Populated after the request is processed. null if not yet processed.

createServiceLineDetail.pendingActivationboolean

Whether the new service line is held in the Pending Activation state until a Starlink device is assigned. Only applies when starlinkDeviceRefIds is empty.

createServiceLineDetail.starlinkDeviceRefIdsstring array

Reference IDs of the Starlink devices to assign to the new service line. Empty if no devices were specified.

changeServiceLinePlanDetailnullable object

Details for a SERVICE_LINE_CHANGE_PLAN request. null for other request types.

Show child attributes
changeServiceLinePlanDetail.starlinkServiceLineRefIdstring

Reference ID of the Starlink service line whose plan is being changed.

changeServiceLinePlanDetail.isDelayUpdateboolean

Whether the plan change is scheduled to take effect at the next billing cycle.

optInServiceLineDetailnullable object

Details for a SERVICE_LINE_OPT_IN request. null for other request types.

Show child attributes
optInServiceLineDetail.starlinkServiceLineRefIdstring

Reference ID of the Starlink service line to opt in.

reactivateServiceLineDetailnullable object

Details for a SERVICE_LINE_REACTIVATE request. null for other request types.

Show child attributes
reactivateServiceLineDetail.starlinkServiceLineRefIdstring

Reference ID of the Starlink service line to reactivate.

topupServiceLineDetailnullable object

Details for a SERVICE_LINE_TOPUP request. null for other request types.

Show child attributes
topupServiceLineDetail.starlinkServiceLineRefIdstring

Reference ID of the Starlink service line to top up.

orderDeviceDetailnullable object

Details for a DEVICE_ORDER request. null for other request types.

Show child attributes
orderDeviceDetail.shippingAddressobject

Shipping address for the device order.

Show child attributes
orderDeviceDetail.shippingAddress.companystring

Company name.

orderDeviceDetail.shippingAddress.firstNamestring

First name of the recipient.

orderDeviceDetail.shippingAddress.lastNamestring

Last name of the recipient.

orderDeviceDetail.shippingAddress.emailstring

Email address of the recipient.

orderDeviceDetail.shippingAddress.phonestring

Phone number of the recipient.

orderDeviceDetail.shippingAddress.line1string

Address line 1.

orderDeviceDetail.shippingAddress.line2nullable string

Address line 2. null if not applicable.

orderDeviceDetail.shippingAddress.citystring

City.

orderDeviceDetail.shippingAddress.statenullable string

State or province. null if not applicable.

orderDeviceDetail.shippingAddress.zipCodestring

Postal code.

orderDeviceDetail.shippingAddress.countryCodestring

ISO 3166-1 alpha-2 country code.

orderDeviceDetail.billingAddressnullable object

Billing address for the device order, automatically deduced by the system for reference — this is not a field you submit in the request. Has the same fields as shippingAddress. null if not yet deduced.

orderDeviceDetail.orderProcessingUrlnullable string

URL to process order. null if not yet available.

orderDeviceDetail.orderNumbernullable string

Order number assigned after processing. null if not yet assigned.

expireAtnullable datetime string

Timestamp when the request will expire. null if not applicable.

requesterRemarknullable string

Remark left by the requester. null if not provided.

parentRemarknullable string

Remark left by the parent partner. null if not provided.

approvedAtnullable datetime string

Timestamp when the request was approved. null if not approved.

approvedBynullable string

Name of the user who approved the request. null if not approved.

approvedByEmailnullable string

Email of the user who approved the request. null if not approved.

rejectedAtnullable datetime string

Timestamp when the request was rejected. null if not rejected.

rejectedBynullable string

Name of the user who rejected the request. null if not rejected.

rejectedByEmailnullable string

Email of the user who rejected the request. null if not rejected.

cancelledAtnullable datetime string

Timestamp when the request was cancelled. null if not cancelled.

cancelledBynullable string

Name of the user who cancelled the request. null if not cancelled.

cancelledByEmailnullable string

Email of the user who cancelled the request. null if not cancelled.

expiredAtnullable datetime string

Timestamp when the request expired. null if not expired.

processedAtnullable datetime string

Timestamp when the request was processed. null if not yet processed.

statusenum

Current status of the Starlink request.

  • PENDING_APPROVAL — The request is pending approval.
  • PROCESSING — The request is being processed.
  • COMPLETED — The request has been completed.
  • CANCELLED — The request has been cancelled.
  • REJECTED — The request has been rejected.
  • EXPIRED — The request has expired.
  • ABORTED — The request has been aborted.
createdAtdatetime string

Date and time the request was created.

createdBystring

Username of the user who created the request.

createdByEmailnullable string

Email of the user who created the request. null if not applicable.

updatedAtdatetime string

Date and time the request was last updated.

updatedBystring

Username of the user who last updated the request.

updatedByEmailnullable string

Email of the user who last updated the request. null if not applicable.

400 Request is invalid

No Starlink request is created as the request is invalid.

Check the response body for the error details.

Examples

Request

curl -X POST 'https://portal.peplink.com/api/e/v1/cp/starlink/requests' \  -H 'Authorization: Bearer {token}' \  -H 'Content-Type: application/json' \  --data-raw  '{"starlinkAccountRefId": "104","type": "SERVICE_LINE_CREATE","items": [  {    "sku": "SLK-LP-500GB-DB-US",    "quantity": 1  },  {    "sku": "SLK-LP-TAC-US",    "quantity": 1  }],"createServiceLineDetail": {  "name": "zxczxcz",  "starlinkAddressRefId": "43",  "starlinkDeviceRefIds": ["XXXX00000001"]}}'

Response

{
  "refId": "547",
  "accountRefId": 10,
  "parentAccountRefId": null,
  "starlinkAccountRefId": "104",
  "type": "SERVICE_LINE_CREATE",
  "currency": "USD",
  "items": [
    {
      "parentItemId": null,
      "itemId": 1,
      "sku": "SLK-LP-500GB-DB-US",
      "productName": "Starlink Local Priority 500 GB Data Block - US",
      "quantity": 1,
      "originalUnitPrice": 125,
      "unitPrice": 125
    },
    {
      "parentItemId": null,
      "itemId": 2,
      "sku": "SLK-LP-TAC-US",
      "productName": "Starlink Local Priority Terminal Access Charge - US",
      "quantity": 1,
      "originalUnitPrice": 40,
      "unitPrice": 40
    }
  ],
  "createServiceLineDetail": {
    "name": "zxczxcz",
    "starlinkAddressRefId": "43",
    "starlinkServiceLineRefId": null,
    "pendingActivation": false,
    "starlinkDeviceRefIds": ["XXXX00000001"]
  },
  "changeServiceLinePlanDetail": null,
  "optInServiceLineDetail": null,
  "reactivateServiceLineDetail": null,
  "topupServiceLineDetail": null,
  "orderDeviceDetail": null,
  "expireAt": "2026-04-15T23:59:59.000Z",
  "requesterRemark": null,
  "parentRemark": null,
  "approvedAt": "2026-04-01T02:51:13.202Z",
  "approvedBy": "System",
  "approvedByEmail": null,
  "rejectedAt": null,
  "rejectedBy": null,
  "rejectedByEmail": null,
  "cancelledAt": null,
  "cancelledBy": null,
  "cancelledByEmail": null,
  "expiredAt": null,
  "processedAt": null,
  "status": "PROCESSING",
  "createdAt": "2026-04-01T02:51:13.202Z",
  "createdBy": "Jane Doe",
  "createdByEmail": "[email protected]",
  "updatedAt": "2026-04-01T02:51:13.202Z",
  "updatedBy": "Jane Doe",
  "updatedByEmail": "[email protected]"
}

On this page