Skip to main content

007-DeleteChildProfile

Function

Terminate Child Status

Endpoint

  • /v1/loyalty/profile/child

HTTP Method

  • DELETE

Request Headers

  • Authorization: Bearer {token}
  • X-App-Key: {appKey}

Request Payload

{
"childId": "CHILD00000001"
}

Request Parameters

FieldRequiredTypeRemarkSample
childIdNostringChild profile id

Response Payload

{
"status": 1,
"errorCode": 0,
"message": "success",
"childId": "CHILD00000001",
"masterSsoId": "ssoid"
}

Response Parameters

FieldRequiredTypeRemarkSample
statusYesnumberstatus code of the api call, 1=success, 0=fail
messageYesstringdetail message of the api call
errorCodeNonumber

Response Headers

Error Codes

CodeDescription
1Internal Error
2Child Not Exists
3Missing Parameter
4Invalid Input
4150Child not exists