Unlink Outlet by Merchant ID
By using this method, you can specify which outlet that you want to undo the linking explained in previous section. The unlink process should be initiated when the merchant's partnership ends.
To perform this operation, you need to make sure the user has an access to the specified outlet ID. Please refer Token Info API
DELETE /integrations/partner/outlets/{outlet_id}/v1/link/{product}
Sample Request
Sample Request
curl -X DELETE https://api.partner-sandbox.gobiz.co.id/integrations/partner/outlets/{outlet_id}/v1/link/{product} \
-H 'Authorization: Bearer {access-token}'
Path Parameters
Name | Description | Type | Required |
---|---|---|---|
outlet_id | ID of the outlet for which you want to link. | String | Required |
product | The product name. Currently available are gofood , payment | String | Required |
Sample Response - 200 Success
Sample Response
{
"success": true,
"data": {}
}
Response - 200 Success
JSON Attribute | Description | Type |
---|---|---|
success | Status of the request. Value true indicates successful submission of the request. | Boolean |
data | Details metadata if any. | Object |
note
- To perform this operation, you must have one of
["owner", "admin", "manager"]
role and authenticated usinggo_auth_authorization_code(partner:outlet:read)
. .* Possible error response is401
,403
. Please refer Error Glossary.