AfterShip · Schema
product_variant.v1
ShippingTrackingE-CommercePost-PurchaseNotificationLogisticsReturnsWarrantyAddress ValidationFulfillmentCarrierWebhookMCPRetail
Properties
| Name | Type | Description |
|---|---|---|
| id | string | A unique identifier for the product variant in your system. |
| sku | string | The product SKU of the product variant. |
| price | string | The price of the product variant. |
| available_quantity | integer | Available quantity of the product variant. |
| image_urls | array | The product image URL of the product variant. |
| title | string | The title of the product variant. |
| compare_at_price | string | The original price of the item before an adjustment or a sale. |
| weight | object | The weight information of the product variant. |
| allow_backorder | boolean | To specify whether customers are permitted to place an order for this out-of-stock product variant. |
| options | array | The custom product variant properties, such as size, color, and material. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/aftership/main/json-schema/aftership-product-variant-v1-schema.json",
"title": "product_variant.v1",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/aftership-products-api-openapi.yml#/components/schemas/Product_variant.v1",
"x-stoplight": {
"id": "9x15f6937soxi"
},
"type": "object",
"required": [
"id",
"sku",
"price"
],
"properties": {
"id": {
"type": "string",
"description": "A unique identifier for the product variant in your system.",
"maxLength": 32,
"x-stoplight": {
"id": "fv6ts8zm4xms8"
}
},
"sku": {
"type": "string",
"description": "The product SKU of the product variant.",
"maxLength": 1024
},
"price": {
"type": "string",
"description": "The price of the product variant.",
"maxLength": 100
},
"available_quantity": {
"type": "integer",
"description": "Available quantity of the product variant."
},
"image_urls": {
"type": "array",
"maxItems": 100,
"description": "The product image URL of the product variant.",
"items": {
"type": "string",
"maxLength": 1024
}
},
"title": {
"type": "string",
"description": "The title of the product variant.",
"maxLength": 1024
},
"compare_at_price": {
"type": "string",
"description": "The original price of the item before an adjustment or a sale.",
"maxLength": 100
},
"weight": {
"$ref": "#/$defs/Weight.v1",
"description": "The weight information of the product variant."
},
"allow_backorder": {
"type": "boolean",
"description": "To specify whether customers are permitted to place an order for this out-of-stock product variant."
},
"options": {
"type": "array",
"uniqueItems": true,
"minItems": 1,
"description": "The custom product variant properties, such as size, color, and material.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The field name of the custom product property.",
"maxLength": 256
},
"value": {
"type": "string",
"description": "The value of the custom product property.",
"maxLength": 256
}
}
}
}
},
"$defs": {
"Weight.v1": {
"description": "The unit weight of the item.",
"title": "Weight",
"x-stoplight": {
"id": "6ffc0efbd7bf5"
},
"type": "object",
"x-tags": [
"Primitive"
],
"properties": {
"unit": {
"type": "string",
"enum": [
"kg",
"lb",
"oz",
"g"
],
"description": "The weight unit eg: g or kg."
},
"value": {
"type": "number",
"description": "The value of the weight."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/aftership-product-variant-v1"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.