Set Epharmacy Shop Info Endpoint
Set or Update Shop Information SIA (Surat Izin Apotek), SIPA (Surat Izin Praktek Apoteker), APJ (Apoteker Penanggung Jawab Apotek), and License Expiration Date.
Path
post
{host}/v1/epharmacy/fs/:fs_id/shop/attributes/update
Request Parameters
Parameter | Value | Example | Mandatory |
---|---|---|---|
data | list of shop id (you can set or update multiple shop) | ||
shop_id | Shop ID of Specific Shop | 123456 | true |
sia_number | Pharmacy License Number | 440/02/SIA-35.79/2017 | false |
sipa_number | Pharmacist License Number | 19741110/SIPA-35.79/2017/1.003 | false |
apj | Pharmacist Name | Hardiyadi S.Si.,Apt | false |
sia_license_expiration | Sia License Expiration Date in Unix | 1675937132 | false |
sipa_license_expiration | Sipa License Expiration Date in Unix | 1675937132 | false |
Example Request
curl -X POST \
'https://fs.tokopedia.net/v1/epharmacy/fs/2/shop/attribute/update' \
-d [
{
"shop_id": 6553941,
"pharmacy_info": {
"sia_number": "1234/SIPA-35.79/2017/1.003",
"sipa_number": "19741110/SIPA-35.79/2017/1.003",
"apj": "Hardiyado S.Si.,Apt",
"sia_license_expiration": 1675937132,
"sipa_license_expiration": 1675937132
}
},{
"shop_id": 6553942,
"pharmacy_info": {
"sia_number": "1234/SIPA-35.79/2017/1.003",
"sipa_number": "19741110/SIPA-35.79/2017/1.003",
"apj": "Hardiyado S.Si.,Apt",
"sia_license_expiration": 1675937132,
"sipa_license_expiration": 1675937132
}
}
]
Success Response Examples
{
"header": {
"server_prosess_time": 0.045122173,
"code": "200"
},
"data": [
{
"shop_id": 6553941,
"message": "Updated Successfully"
},
{
"shop_id": 6553942,
"message": "Updated Successfully"
}
]
}
Error Response Examples
{
"header": {
"server_prosess_time": 0.045122173,
"code": "200"
},
"data": [
{
"shop_id": 6553942,
"message": "Unauthorized"
}
]
}