Skip to main content
POST
/
{shopId}
/
domain
/
subscriptions
Create domain subscription
curl --request POST \
  --url http://staging.qshop.ng/apiv2/{shopId}/domain/subscriptions \
  --header 'Content-Type: application/json' \
  --data '
{
  "actionType": "REACTIVATE",
  "currency": "USD",
  "domain": "xyz.com.ng",
  "duration": 1,
  "durationType": "YEAR",
  "price": 17.58,
  "purchaseCurrency": "NGN",
  "registrantDetails": {
    "AdminAddress1": "5 East park avenue",
    "AdminCity": "Lagos",
    "AdminCountry": "Nigeria",
    "AdminEmailAddress": "[email protected]",
    "AdminFirstName": "Adeyinka",
    "AdminLastName": "Badmus",
    "AdminPhone": "+2349034362570",
    "AdminPostalCode": "110115",
    "AdminStateProvince": "Lagos"
  },
  "returnUrl": "http://localhost:8000/admin/shop"
}
'

Body

application/json
actionType
string
Example:

"REACTIVATE"

currency
string
Example:

"USD"

domain
string
Example:

"xyz.com.ng"

duration
number
Example:

1

durationType
string
Example:

"YEAR"

price
number
Example:

17.58

purchaseCurrency
string
Example:

"NGN"

registrantDetails
object
returnUrl
string
Example:

"http://localhost:8000/admin/shop"

Response

200 - undefined