Skip to content

[Feature Request]: New Local Fulfillment official extension for *Search* and *Lookup* endpoints. #255

@nicolasgarnier

Description

@nicolasgarnier

Is your feature request related to a problem? Please describe.

Right now, the Search and Lookup endpoints (see PR #55) tell you what a product is, but not where you can actually get it (fulfillment information). For merchants with multiple physical stores, and especially for local pickup use-cases "in stock" is too vague. Users and agents need to know if a product is sitting on a shelf at a specific local branch so they can actually go pick it up.

Describe the solution you'd like

Currently this is possible using a custom extension that adds local fulfillment data to the Search and Lookup responses. Such as:

{
    "availability": {
      "available": true,
      "stores": [
        {
          "id": "store_sf_downtown",
          "name": "San Francisco - Downtown",
          "address": { ... },
          "pickup_available": true,
          ...
        },
        {
          "id": "store_palo_alto",
          "name": "Palo Alto",
          "address": { ... },
          },
          "pickup_available": false,
          ...
        }
      ]
    }
  }

The discussion here would be about wether we want an "official" common UCP extension for this, this would decrease fragmentation and enable better, more automated agentic experience.

Describe alternatives you've considered

We could leave it as is and force agents to parse a, non-standard inventory extensions.

Additional context

This is a follow-up to the discussion started in PR #55-3824223394. @igrigorik left some specific technical suggestions in that comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions