POST
/
{alias}
/
catalog
/
categories
/
{id}
/
copy-products
curl --request POST \
  --url https://api.dooki.com.br/v2/{alias}/catalog/categories/{id}/copy-products \
  --header 'Content-Type: application/json' \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>' \
  --data '{
  "categories_ids": [
    123
  ]
}'
{
  "data": [
    {
      "id": 123,
      "merchant_id": 123,
      "seller_id": 123,
      "affiliation_id": 123,
      "erp_id": 123,
      "relevance": 123,
      "active": true,
      "gift_value": "<string>",
      "searchable": true,
      "simple": true,
      "ncm": "<string>",
      "has_variations": true,
      "is_digital": true,
      "warranty": 123,
      "custom_shipping": true,
      "shipping_price": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "sku": "<string>",
      "rating": 123,
      "priority": 123,
      "url": "<string>",
      "redirect_url_card": "<string>",
      "redirect_url_billet": "<string>",
      "preview_url": "<string>"
    }
  ],
  "meta": {
    "pagination": {
      "total": "10",
      "count": "30",
      "per_page": "10",
      "current_page": "1",
      "total_pages": "3",
      "links": {
        "previous": "",
        "next": ""
      }
    }
  }
}

Authorizations

User-Token
string
header
required
User-Secret-Key
string
header
required

Path Parameters

alias
string
required

Alias da loja

id
integer
required

ID da categoria de destino

Body

application/json

Response

200
application/json

Produtos associados com sucesso

Representa uma paginação com meta