Flags an insurance on a cart.
POST/api/v1/cart/allocateInsurances
SOAP Equivalent: ACP_AllocInsurrance (→ WSM_AllocInsurrance).
Inserts an insurance product row on the cart. Parity: the legacy always inserts (no create-or-reuse),
so calling twice flags the insurance twice; the read endpoint (GET /cart/{cartId}/insurances)
surfaces the first row.
SOAP to REST Field Mapping
| REST Field | SOAP Field | Notes |
|---|---|---|
| cartId | ID_FlagGroup | Cart identifier |
| insuranceId | insurance.ID_Insurance | Insurance generic id |
| amount | insurance.Amount | Insurance amount |
| interfaceFlagProductId | (ID_InterfaceFlagProduct) | Created product row id |
Request
Responses
- 200
- 401
- 422
- 500
OK
Unauthorized
Unprocessable Content
Internal Server Error