Listings

Get synchronization policy

Gets listing inbound, outbound, and inventory synchronization.

GET
/v1/listings/{listingId}/sync-policy

The three directions are independent. Disabled inbound still informs the client by webhook; outbound permits only explicit commands; automatic inventory is opt-in per binding.

Authorization

api_key
headerAuthorizationBearer <token>

API key (mk_...)

Path Parameters

listingId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

The effective policy.

application/json
  1. response

Independent inbound, outbound, and inventory synchronization decisions.

inbound*

Whether confirmed external changes update observed state locally.

outbound*

Whether normal publication commands may call the marketplace.

inventory*

Whether eligible bindings receive automatic quantity-only publication.

curl -X GET "https://example.com/v1/listings/497f6eca-6276-4993-bfeb-53cbbbba6f08/sync-policy"
{  "inbound": {    "mode": "active"  },  "outbound": {    "enabled": true  },  "inventory": {    "mode": "automatic",    "eligibleBindingIds": [      "cb064b64-2f63-4c3e-aa42-f11ea0f82b17"    ]  }}