{
  "opencollection": "1.0.0",
  "info": {
    "name": "Seller API status Products API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Products",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all products",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://partnerapi-staging.depop.com/api/v1/products/",
            "params": [
              {
                "name": "limit",
                "value": "20",
                "type": "query",
                "description": "The number of products to return. Default is 20."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Request products created after this cursor."
              },
              {
                "name": "sort_by",
                "value": "id_desc",
                "type": "query",
                "description": "Sort order for products by product ID. `id_desc` returns products in descending order (newest first), `id_asc` returns products in ascending order (oldest first). Default is `id_desc`."
              },
              {
                "name": "state",
                "value": "selling",
                "type": "query",
                "description": "Filter products by state. `selling` returns products currently on sale, `sold` returns products that have been sold. When not provided, all products are returned regardless of state. `all` returns all products regardless of state."
              }
            ]
          },
          "docs": "This endpoint returns all the products you have listed on Depop with details about each product.\n**Required OAuth Scopes:** - `products_read` - Required to access product information - `offers_read` - Optional. Required to include offer pricing information (`auto_send_offer_price`, `auto_negotiate_offer_price`) in the response. If this scope is not provided, these fields will be omitted from the response.\n\nIt can return a maximum of 100 products at a time and can be paginated using the `cursor` "
        },
        {
          "info": {
            "name": "Create a new product",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://partnerapi-staging.depop.com/api/v1/products/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint allows you to create a new product listing on Depop. The product will be available for sale immediately.\n\n**Required OAuth Scopes:** - `products_write` - Required for all product operations - `offers_write` - Required when setting `auto_send_offer_price` or `auto_negotiate_offer_price`\n\n**SKU is optional**: If you don't provide a SKU, the product will be created without one (it can be managed by product_id). If you provide a SKU and it already exists, the request will fail with a 4"
        }
      ]
    }
  ],
  "bundled": true
}