Skip to main content

In-store Pickup API (v0)

Download OpenAPI specification:Download

This is a temporary API, to manage the shipping option token private key as a secret in the in-store pickup service.

Secrets

Represents secret credential data and can be used to access restricted resources.

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

Content type
application/json
{
  • "name": "shipping_option_token_private_key",
  • "metadata": {
    }
}

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

Content type
application/json
"-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----"