curl --request POST \
--url https://api.example.com/v1/customer/auth/token \
--header 'authorization: <authorization>' \
--header 'content-type: <content-type>' \
--header 'user-agent: <user-agent>' \
--data '
{
"grant_type": "<string>",
"code": "<string>",
"redirect_uri": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"code_verifier": "<string>",
"refresh_token": "<string>"
}
'{
"access_token": "<string>",
"token_type": "Bearer",
"expires_in": 123,
"refresh_token": "<string>",
"scope": "<string>"
}curl --request POST \
--url https://api.example.com/v1/customer/auth/token \
--header 'authorization: <authorization>' \
--header 'content-type: <content-type>' \
--header 'user-agent: <user-agent>' \
--data '
{
"grant_type": "<string>",
"code": "<string>",
"redirect_uri": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"code_verifier": "<string>",
"refresh_token": "<string>"
}
'{
"access_token": "<string>",
"token_type": "Bearer",
"expires_in": 123,
"refresh_token": "<string>",
"scope": "<string>"
}