Create ramp lines for one or more cart line items

Create ramp line for the given cartId and line item(s) with ramp parameters.

Mandatory Fields:

  • rampsRequest[].StartDate - required
  • rampsRequest[].NoOfPeriods or rampsRequest[].EndDate - at least one is required (both are required for Custom frequency)

Required Fields:

  • cartId (route) - required
  • rampsRequest (body) - required

Responses

  • 200 OK: ramp lines were created.
  • 202 Accepted: the request was accepted for processing.
  • 422 Unprocessable Entity: the request could not be processed.
  • 500 Internal Server Error: an unexpected error occurred.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

A unique identifier of the cart

Body Params

List of line item(s) with ramp parameters

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses
200

OK

202

Accepted

500

Internal Server Error

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json