OtpContent
Type: schema
TypeScript Definition
typescript
OtpContent: {{
/** @description Token to pass to the verify-otp endpoint along with the OTP. */
otp_token: string;
/** @description Action type to pass to the verify-otp endpoint. */
otp_action: string;
/** @description The OTP value itself. Only present in non-production environments where OTP exposure is enabled. */
otp?: string;
};
/**
* Packaging
* @description Packing dimensions for a product without variants. `null` when the product has variants, or when no packaging is configured.
*/
}OpenAPI Schema
json
{
"title": "OtpContent",
"type": "object",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/OtpContent",
"description": "API reference for the OtpContent schema"
},
"required": [
"otp_token",
"otp_action"
],
"properties": {
"otp_token": {
"description": "Token to pass to the verify-otp endpoint along with the OTP.",
"type": "string"
},
"otp_action": {
"description": "Action type to pass to the verify-otp endpoint.",
"type": "string"
},
"otp": {
"description": "The OTP value itself. Only present in non-production environments where OTP exposure is enabled.",
"type": "string"
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions