In-store Pickup API (v0)
Download OpenAPI specification:Download
E-mail: team-checkout@newstore.com
This is a temporary API, to manage the shipping option token private key as a secret in the in-store pickup service.
Get private key's metadata
Returns the metadata of the secret, for the specified secret name.
No secret value is included in the response payload.
Authorizations:
newStoreAccessToken
Responses
Response samples
- 200
Content type
application/json
{- "name": "shipping_option_token_private_key",
- "metadata": {
- "updated_at": "2020-02-17T09:41:00.000Z",
- "updated_by": "b007be08-ce33-414b-a932-9c70d6432cc2"
}
}
Update private key
Updates the RSA private token key value.
Newline characters inside the key value must be explicitly represented with \n
strings.
Authorizations:
newStoreAccessToken
Request Body schema: application/json
string (The updated value of RSA private token key)
Responses
Request samples
- Payload
Content type
application/json
"-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----"