Skip to main content
POST
Create theme
curl --request POST \
  --url http://staging.qshop.ng/apiv2/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "isDefault": false,
  "key": "ELEGANT",
  "media": {
    "type": "image",
    "url": "https://ucarecdn.com//123-098-345/-/resize/",
    "uuid": "123-098-345"
  },
  "name": "ELEGANT",
  "plans": [
    "6441520875589d371e8f7a7d",
    "6441520875589d371e8f7a7c",
    "6441520875589d371e8f7a7b"
  ],
  "status": "enabled"
}
'

Body

application/json
isDefault
boolean
Example:

false

key
string
Example:

"ELEGANT"

media
object
name
string
Example:

"ELEGANT"

plans
string[]
Example:
[
"6441520875589d371e8f7a7d",
"6441520875589d371e8f7a7c",
"6441520875589d371e8f7a7b"
]
status
string
Example:

"enabled"

Response

200 - undefined