Create ProductType
X-API-Key<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Schéma pour un type de produit
Response Body
application/json
curl -X POST "https://example.com/product_types" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "type": "success", "code": "string", "status": 0, "message": "string", "data": { "id": "string", "name": "string", "pricing": { "pricingType": "rental" }, "attributeJSONSchema": {}, "attributesEnable": { "condition": "string", "warranty": "string", "stock": "string", "shipping": "string", "legal": "string" }, "formUISchema": {}, "presentationUISchema": {}, "attachedService": [ "string" ] }}