Add items
Changed onAdd one or more items to an opportunity
Required: Accept-Language header with Locale format. For example: en-US
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Opportunity ID
Request body
Example request
[
{
"pricingPlanId": "a22c03e9-9e27-4e85-8433-78f246345685",
"units": [
{
"quantity": "8",
"unit": "USER"
}
],
"subscriptionCustomAttributes": {
"intended_os": [
"other",
"ios",
"macos"
],
"sales_agent_id": [
"R353113R"
]
},
"vendorRequiredFields": {
"name": [
"jonh"
],
"lastname": [
"doe"
],
"email": [
"john.doe@acme.com"
]
},
"provisioningConfiguration": {
"date": "1546300800000",
"strategy": "CUSTOM"
},
"billingConfiguration": {
"date": "1546300800000",
"strategy": "CUSTOM"
}
}
]Response
Success
Example response
[
{
"id": "37f56046-2cec-4bf4-a4e2-5a733dc849a9",
"pricingPlanId": "a22c03e9-9e27-4e85-8433-78f246345685",
"units": [
{
"quantity": "8",
"unit": "USER"
}
],
"subscriptionCustomAttributes": {
"intended_os": [
"other",
"ios",
"macos"
],
"sales_agent_id": [
"R353113R"
]
},
"vendorRequiredFields": {
"name": [
"john"
],
"lastname": [
"doe"
],
"email": [
"john.doe@acme.com"
]
},
"provisioningConfiguration": {
"date": "1546300800000",
"strategy": "CUSTOM"
},
"billingConfiguration": {
"date": "1546300800000",
"strategy": "CUSTOM"
}
}
]Changes
- breaking
the
request property type changed from no type toobject - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the
response's property type changed from no type toobjectfor status - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking