Skip to content

add manual shop

# ListShop

Use this api to add manual shops.

POST /openapi/shop/v1/connect

Request Json Parameters

Parameter Type Required Description
countryCode string false country Code, default ID
shopName string true Manual Shop Name

Response Parameters

Name Type Description
success boolean results of enforcement
shopId string shop id
channelId string channel id
merchantId string merchant id
countryCode string country code
shopName string shop name
externalShopName string external Shop Name
connectStatus string connect status
firstShopAuthorized string first shop authorized

Request Example

Example

curl -X POST  \
-H "X-Advai-Country: ID" \
-H "Authorization: {Your Access Key} + ':' + signature" \
-H "Content-Type: application/json" \
-d  '{
"shopName": "MANUAL_0TH009",
"countryCode": "TH"
}' \
"{Ginee Host}/openapi/shop/v1/connect"

Success

{
"code": "SUCCESS",
"message": "OK",
"data": {
    "success": true,
    "message": null,
    "firstShopAuthorized": false,
    "externalShopId": "SH6350C0B8A1A419000101C118",
    "shopId": "SH6350C0B8A1A419000101C118",
    "channelId": "MANUAL_ID",
    "merchantId": "MC61DE40C130C49E0001A9446F",
    "countryCode": "TH",
    "shopName": "MANUAL_0TH009",
    "externalShopName": "MANUAL_0TH009",
    "connectStatus": "CONNECTED"
},
"extra": null,
"pricingStrategy": "PAY"
}