FEATURE_NOT_ENABLED.
Link a partner
Name the seller whose inventory you want:save_inventory_source. It creates a source in the PENDING state
and returns it. The source belongs to your own storefront: you cannot name an
owner. Linking the same partner again returns the source that already exists.
The partner seller must already have approved your storefront’s account as a
buyer on their storefront. The partner does this in their own account, the same
way a seller approves any buyer. Without that approval the call answers
NOT_FOUND, exactly as it does for a storefront that does not exist, so a
curator cannot learn whether a storefront exists without its approval.
A pending source is not selected for buyer briefs and cannot be booked.
Activate it
sellerId and status: "ACTIVE" together to
link and activate at once. A source that is already active is returned
unchanged.
Activation checks the partner seller’s approval again. If the partner has
withdrawn it since you linked, activation is refused, the source stays
PENDING and the answer says why. Ask the partner seller to approve you again,
then send the same call again.
How a brief reaches the partner
When a buyer’s brief reaches your storefront, it is forwarded to each active linked partner. The partner shows products only under an account its buyer holds, so your storefront first sets up an account at the partner for the brand the buyer names and your own operator, then asks for products under that account. The partner decides whether to open it, which is the approval you already hold from that seller. If the partner opens no account, or the brief names no brand, nothing is asked of that partner and the answer says so.The terms
The terms are fixed and you do not enter them:
Because nothing can be chosen, there is no separate call to set terms. They are
set when the source is activated.
Turn it off
Read where it stands
get({ "kind": "inventory_source", "id": "linked-storefront:9001" }) returns
linkedSeller:
connection.nextStep names the next action for the state the source is in.