Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions docs/specification/checkout-mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ Maps to the [Create Checkout](checkout.md#create-checkout) operation.
},
"line_items": [
{
"id": "item_123",
"id": "li_1",
"item": {
"id": "item_123",
"title": "Blue Jeans",
Expand Down Expand Up @@ -262,7 +262,7 @@ Maps to the [Create Checkout](checkout.md#create-checkout) operation.
{
"id": "shipping_1",
"type": "shipping",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_destination_id": "dest_home",
"destinations": [
{
Expand All @@ -277,7 +277,7 @@ Maps to the [Create Checkout](checkout.md#create-checkout) operation.
"groups": [
{
"id": "package_1",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_option_id": "standard",
"options": [
{
Expand Down Expand Up @@ -381,6 +381,7 @@ Maps to the [Update Checkout](checkout.md#update-checkout) operation.
"item": {
"id": "item_123"
},
"id": "li_1",
"quantity": 1
}
],
Expand All @@ -389,7 +390,7 @@ Maps to the [Update Checkout](checkout.md#update-checkout) operation.
"methods": [
{
"id": "shipping_1",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"groups": [
{
"id": "package_1",
Expand Down Expand Up @@ -437,7 +438,7 @@ Maps to the [Update Checkout](checkout.md#update-checkout) operation.
},
"line_items": [
{
"id": "item_123",
"id": "li_1",
"item": {
"id": "item_123",
"title": "Blue Jeans",
Expand Down Expand Up @@ -471,7 +472,7 @@ Maps to the [Update Checkout](checkout.md#update-checkout) operation.
{
"id": "shipping_1",
"type": "shipping",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_destination_id": "dest_home",
"destinations": [
{
Expand All @@ -486,7 +487,7 @@ Maps to the [Update Checkout](checkout.md#update-checkout) operation.
"groups": [
{
"id": "package_1",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_option_id": "express",
"options": [
{
Expand Down
22 changes: 11 additions & 11 deletions docs/specification/checkout-rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ type & addresses.
{
"id": "shipping_1",
"type": "shipping",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_destination_id": "dest_home",
"destinations": [
{
Expand All @@ -451,7 +451,7 @@ type & addresses.
"groups": [
{
"id": "package_1",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_option_id": "standard",
"options": [
{
Expand Down Expand Up @@ -534,7 +534,7 @@ Follow-up calls after initial `fulfillment` data to update selection.
{
"id": "shipping_1",
"type": "shipping",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_destination_id": "dest_home",
"destinations": [
{
Expand Down Expand Up @@ -632,7 +632,7 @@ Follow-up calls after initial `fulfillment` data to update selection.
{
"id": "shipping_1",
"type": "shipping",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_destination_id": "dest_home",
"destinations": [
{
Expand All @@ -647,7 +647,7 @@ Follow-up calls after initial `fulfillment` data to update selection.
"groups": [
{
"id": "package_1",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_option_id": "express",
"options": [
{
Expand Down Expand Up @@ -826,7 +826,7 @@ place to set these expectations via `messages`.
{
"id": "shipping_1",
"type": "shipping",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_destination_id": "dest_home",
"destinations": [
{
Expand All @@ -841,7 +841,7 @@ place to set these expectations via `messages`.
"groups": [
{
"id": "package_1",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_option_id": "express",
"options": [
{
Expand Down Expand Up @@ -980,7 +980,7 @@ place to set these expectations via `messages`.
{
"id": "shipping_1",
"type": "shipping",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_destination_id": "dest_home",
"destinations": [
{
Expand All @@ -995,7 +995,7 @@ place to set these expectations via `messages`.
"groups": [
{
"id": "package_1",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_option_id": "express",
"options": [
{
Expand Down Expand Up @@ -1135,7 +1135,7 @@ place to set these expectations via `messages`.
{
"id": "shipping_1",
"type": "shipping",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_destination_id": "dest_home",
"destinations": [
{
Expand All @@ -1150,7 +1150,7 @@ place to set these expectations via `messages`.
"groups": [
{
"id": "package_1",
"line_item_ids": ["item_123"],
"line_item_ids": ["li_1"],
"selected_option_id": "express",
"options": [
{
Expand Down