OtpContent
Type: schema
TypeScript Definition
typescript
OtpContent: {{
/** @description Use with the operation appropriate to `otp_action`. */
otp_token: string;
otp_action: components["schemas"]["OtpAction"];
/** @description The OTP value itself. Only present in non-production environments where OTP exposure is enabled. */
otp?: string;
};
/**
* Packaging
* @description Packing dimensions for the returned product or variant; null when no packing dimensions are configured. Marketplace product details use the default variant’s dimensions when the product has variants. Individual marketplace variants return their own dimensions.
*/
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["OtpAction"] | OtpAction |
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": "Use with the operation appropriate to `otp_action`.",
"type": "string"
},
"otp_action": {
"$ref": "#/components/schemas/OtpAction"
},
"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