Bajie Charging
  1. Shop
Bajie Charging
  • Open API
    • 1.Get Device Info
      GET
    • 2.Create Rent Order
      POST
    • 3.Query Rent Order Status
      POST
    • 4.Mark order status as completed
      POST
    • 5.Get Order Detail
      GET
    • 6.Get Deivice List
      POST
  • Advance API
    • Cabinet
      • Device Operation
      • eject the battery for the specified device slot by repair
      • Rent and eject the battery for the specified device slot
      • Query All Device List
      • Query details based on Device Id
      • get device list by shop id
      • get all device list by page
      • Query battery list based on Device Id
      • Query slot list based on Device Id
      • binding device to shop
      • Update cabinet advertising information
    • Shop
      • get all shop list
        GET
      • get shop detail
        GET
      • create new shop
        POST
      • update shop
        PUT
      • Delete shop
        DELETE
    • PriceStrategy
      • 1.Get Price Strategy Page
      • 2.Get Price Strategy Detail
      • 3.Create Or Update Price Strategy
      • 4.Delete Price Strategy
      • 5.Shop Bind Price Strategy
      • 6.Shop Unbind Price Strategy
    • Order
      • Order list
  • Cabinet Event Push
    • Cabinet Event Push Config
      POST
    • GET Cabinet Event Push Config
      GET
    • Cabinet Event Push
      POST
  1. Shop

create new shop

Production
https://developer.chargenow.top/cdb-open-api/v1
Production
https://developer.chargenow.top/cdb-open-api/v1
POST
https://developer.chargenow.top/cdb-open-api/v1
/shop/create
create new shop

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Header Params
Authorization
string 
optional
Example:
Basic dGVzdDp0ZXN0
Body Params application/json
pNewid
string 
required
pName
string 
required
pSceneType
integer 
Other 0 House 1 Outside the apartment 2 Outside the hospital 3 Semi independent 4 Commercial building 5 Inside the building 6 Outside the building 7 Factory area 8 In the square 9 Outside the square 10 Amusement Park 11 Lakeside 12 Independent house 13 Independent household 14 Off court 15 Outside the group house 16 street shop 17 Street house 18 Inside the hotel 19 Outside the hotel 20 Car 21 Bar 22 Café 23 Nightclub 24 Restaurant 25 Shopping Centre 26 Convenience Store 27 Retail Store 28 Public Transport 29 Airport 30 Stadium 31 Event 32 Hospital 33 Health/Fitness 34 University 35 Library 36
optional
pStoreType
integer 
0 Other 1 center, 2 Chinese food, 3 park, 4 leisure, 5 accommodation, 6 health care, 7 fitness, 8 venues, 9 entertainment, 10 pets, 11 education, 12 service, 13 stalls, 14 hookah 15 games, 16 baking, 17 barbecue, 18 haircut, 19 beauty, 20 clinic, 21 car workshop, 22 car shop, 23 mail, 24 bar, 25 hotel, 26 retail, 27 restaurant bar, 28 catering, 29 drinks
optional
pAddress
string 
optional
pJingdu
string 
required
pWeidu
string 
required
pAuditor
integer 
0-disable 1-enable
optional
pContent
string 
optional
pCurrency
string 
ISO Currency Code
optional
pLocationId
string 
If you have StripePOS and place an order using our client, this field is mandatory and the specific value needs to be obtained from Stripe
optional
pLogo
string 
optional
Example
{
    "pNewid": "string",
    "pName": "string",
    "pSceneType": 0,
    "pStoreType": 0,
    "pAddress": "string",
    "pJingdu": "string",
    "pWeidu": "string",
    "pAuditor": 0,
    "pContent": "string",
    "pCurrency": "string",
    "pLocationId": "string",
    "pLogo": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://developer.chargenow.top/cdb-open-api/v1/shop/create' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
    "pNewid": "string",
    "pName": "string",
    "pSceneType": 0,
    "pStoreType": 0,
    "pAddress": "string",
    "pJingdu": "string",
    "pWeidu": "string",
    "pAuditor": 0,
    "pContent": "string",
    "pCurrency": "string",
    "pLocationId": "string",
    "pLogo": "string"
}'

Responses

🟢200OK
application/json
Body
Additional properties
object 
optional
Example
{
    "property1": {},
    "property2": {}
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Modified at 2025-06-18 10:25:57
Previous
get shop detail
Next
update shop
Built with