Skip to main content
PUT
/
products
/
{id}
Atualizar produto
curl --request PUT \
  --url https://api.speedsellx.io/seller/v1/products/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "image": "<string>",
  "category_id": 2,
  "language_id": 2,
  "price": 1,
  "is_free": true,
  "convert_currency": true,
  "attachment_url": "<string>",
  "shipping_cost": 1,
  "is_encapsulated": true,
  "landing_page": "<string>",
  "support_email": "jsmith@example.com",
  "author": "<string>",
  "credit_card_enabled": true,
  "pix_enabled": true,
  "billet_enabled": true,
  "has_speed_recovery": true
}
'
{
  "data": {
    "id": 3256,
    "name": "Curso de Vendas Pro",
    "description": "Curso completo de vendas",
    "status": "published",
    "type": "digital",
    "payment_type": "unique",
    "recurrence_interval": null,
    "price": 199.9,
    "currency": "brl",
    "is_free": false,
    "created_at": "2026-06-01T10:00:00-03:00",
    "updated_at": "2026-06-01T10:00:00-03:00"
  }
}
Requer o escopo products:write e o header HTTP Idempotency-Key. Envie apenas os campos que mudam.
{
  "data": {
    "id": 3256,
    "name": "Curso de Vendas Pro",
    "description": "Curso completo de vendas",
    "status": "published",
    "type": "digital",
    "payment_type": "unique",
    "recurrence_interval": null,
    "price": 199.9,
    "currency": "brl",
    "is_free": false,
    "created_at": "2026-06-01T10:00:00-03:00",
    "updated_at": "2026-06-01T10:00:00-03:00"
  }
}

Path Parameters

id
integer
required

Body

application/json

Full update of a product. Uses the same validation and payload shaping as creation (PUT replaces the full representation).

name
string
required
Maximum string length: 255
description
string
required
Maximum string length: 255
image
string
required
Maximum string length: 2048
category_id
integer
required
Required range: x >= 1
language_id
integer
required
Required range: x >= 1
payment_type
enum<string>
required
Available options:
unique,
recurring
price
number
required
Required range: x >= 0
currency
enum<string>
required
Available options:
brl,
usd,
eur
type
enum<string>
required
Available options:
physical,
digital
delivery
enum<string>
required
Available options:
nothing,
memberkit,
cademi,
rocketmember,
astronmembers,
download,
external
warranty_time
enum<integer>
required
Available options:
7,
14,
21,
30
publish_status
enum<string>
required
Available options:
draft,
published
recurrence_interval
enum<string> | null
Available options:
daily,
weekly,
fortnightly,
monthly,
twomonthly,
quarterly,
semiannual,
yearly
is_free
boolean
convert_currency
boolean
attachment_url
string | null
Maximum string length: 2048
shipping_cost
number
Required range: x >= 0
is_encapsulated
boolean
landing_page
string | null
Maximum string length: 2048
support_email
string<email> | null
author
string | null
Maximum string length: 255
credit_card_enabled
boolean
pix_enabled
boolean
billet_enabled
boolean
has_speed_recovery
boolean

Response

data
ProductResource · object
required