Saltar al contenido
Guías
Referencia de API
establepromotion:create

Crear oferta adicional

POST/v1/order-bumps

Autorización

bearerAuth
AutorizaciónBearer <token>

Token de acceso OAuth 2.0 emitido por Ecomiq Auth.

Ubicación: header

Cuerpo de la solicitud

application/json

Definiciones TypeScript

Usa esta definición en TypeScript.

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/order-bumps" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "description": null,    "status": "draft",    "productId": "string",    "variantId": "string",    "offerPrice": null,    "minimumCartSubtotal": null,    "priority": 0,    "maxPerCart": 0,    "startsAt": null,    "endsAt": null,    "badgeLabel": null,    "callToAction": null  }'
"string"