curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/gstrs/preference \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"fy": "2020-21",
"gstin": "27COWPR1617C2ZN",
"preference": "M",
"quarter": "Q2"
}
'{
"code": 200,
"data": {
"error": {
"error_cd": "GSTN-EXEC2003",
"message": "Something seems to have gone wrong while processing your request. Please try again. If error persists quote error number GSTN-EXEC2003 when you contact customer care for quick resolution "
},
"status_cd": "0"
},
"timestamp": 1655494089128,
"transaction_id": "189071f9-671d-4f1d-a89e-55c19bec7002"
}Save filing preference for a return period for authenticated taxpayer
curl --request POST \
--url https://api.sandbox.co.in/gst/compliance/tax-payer/gstrs/preference \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"fy": "2020-21",
"gstin": "27COWPR1617C2ZN",
"preference": "M",
"quarter": "Q2"
}
'{
"code": 200,
"data": {
"error": {
"error_cd": "GSTN-EXEC2003",
"message": "Something seems to have gone wrong while processing your request. Please try again. If error persists quote error number GSTN-EXEC2003 when you contact customer care for quick resolution "
},
"status_cd": "0"
},
"timestamp": 1655494089128,
"transaction_id": "189071f9-671d-4f1d-a89e-55c19bec7002"
}Taxpayer access token
API key for identification
API version
Was this page helpful?