DELETE /api/sales/variations/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
Variation removed successfully
{ "id": "text" }
""
0
25
asc
GET /api/sales/variations HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
OK
{ "id": "text", "name": "text", "active": true, "values": [ "text" ] }
GET /api/sales/variations/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
PUT /api/sales/variations/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 47 { "name": "text", "active": true, "values": [ "text" ] }
Variation updated successfully
POST /api/sales/variations HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 59 { "id": "text", "name": "text", "active": true, "values": [ "text" ] }
Variation created successfully