Skip to main content

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 FieldSOAP FieldNotes
cartIdID_FlagGroupCart identifier
insuranceIdinsurance.ID_InsuranceInsurance generic id
amountinsurance.AmountInsurance amount
interfaceFlagProductId(ID_InterfaceFlagProduct)Created product row id

Request

Responses

OK