Skip to main content
POST
/
v1
/
product
Create a product
curl --request POST \
  --url https://sandbox.api.veepag.com/v1/product \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '
{
  "companyId": "<string>",
  "active": true,
  "deleted": true,
  "setting": {
    "re1to1": true,
    "successChargeDay": true,
    "cardAuth": true
  },
  "checkout": {
    "tracking": {
      "meta": "<string>",
      "gtm": "<string>"
    }
  },
  "discount": {
    "list": []
  },
  "notification": {}
}
'
{
  "_id": "product_id",
  "companyId": "company_id",
  "active": true,
  "deleted": false
}

Authorizations

apiKey
string
header
required

API key no formato keyId.secret.

Body

application/json
companyId
string
active
boolean
deleted
boolean
setting
object
charge
object
product
object
unsubscription
object
checkout
object
send
object
discount
object
notification
object

Response

Produto criado.

_id
string
companyId
string
active
boolean
deleted
boolean
product
object
charge
object
setting
object
unsubscription
object