---
title: "POST /api/order/add-to-cart"
method: POST
path: "/api/order/add-to-cart"
tags: ["buynow"]
---

# POST /api/order/add-to-cart

`POST /api/order/add-to-cart`

## Request body

- BasketItem
  - `quantity` string, nullable
  - `autoRenew` string, nullable
  - `serialNumber` string, nullable
  - `ssipn` string, nullable
  - `actionType` string, nullable
  - `activate` string, nullable
  - `serviceID` string, nullable
  - `nodeCount` string, nullable
  - `casbAppid` string, nullable
  - `tenantID` string, nullable
  - `dataCenterLocationID` string, nullable

## Response `200`

Success

- AddToCartResponse
  - `content` AddToCartResp
    - `cartCount` string, nullable
  - `arrInput` InputError[], nullable
    - `ErrorCode` string, nullable
    - `ErrorMessage` string, nullable
    - `ErrorControl` string, nullable
  - `dataCenter` CASDataCenter[], nullable
    - `dataCenterId` string, nullable
    - `dataCenterName` string, nullable
    - `dataCenterDesc` string, nullable
    - `isDefaultDC` boolean
  - `operationStatus` string, nullable
  - `msgCode` string, nullable
  - `msgId` string, nullable
  - `msgDesc` string, nullable

---

[API](https://skmtc.dev/mysonicwall/apis/restapi-core-v1.md) · [All operations](https://skmtc.dev/mysonicwall/apis/restapi-core-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mysonicwall/restapi-core-v1/revisions/ddffed195eba/schema)
