Administration/Supply Chains

The v1 supply chains of every brand that are not removed, active ones only unless filter sets isArchived to 1. companyId narrows to chains with that company on a node (as brand or supplier), productId to the chain the product is on, and q matches the name. filter is a JSON object: name, brandName (the owner's official name) and brandId match as case-insensitive substrings, isArchived takes 0 or 1 (legacy answered a 500 for it). Sortable by name, isArchived, updatedAt and brandName. Answers the paginated { data, metadata: { pagination } } envelope (1-based pagination.page); legacy sent { data, meta }.

get/api/admin/supply-chains

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/admin/supply-chains
  • Auth
    none declared

Query parameters

pageinteger
countinteger
sortstring
qstring
filterstring
companyIdstring
productIdstring

Response

Default Response

Changes