Create Sale Line Addon
Changed onCreates an addon line for an existing sale line. The API consumer must provide a unique GUID for the addon line ID. Use this endpoint when you need to add addons after the parent line has been created. Returns the saleId and a refresh object with SystemIds of updated entities and totals.
Request
- Base URLhttps://api.npretail.app
- AuthAPI key in header x-np-api-key
Path parameters
Your Entra Tenant ID. More details.
Your Business Central Environment. More details.
Your Business Central Company. More details.
The id of a POS sale. This can be provided by the API consumer when creating a new sale.
The id of a sale line within a POS sale.
The unique GUID for this new addon line
Headers
Used for API versioning. More details.
Request body
Response
Response with status 201
Changes
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
the request's body type changed from no type to
object - breaking
the response's body type changed from no type to
objectfor status - warning
deleted the
headerrequest parameterx-np-api-key - info
the endpoint scheme security
NPApiKeyAuthSchemewas added to the API - info
added the new optional request property
- info
added the new optional request property
- info
for the
pathrequest parameteraddonLineId, the type was generalized from no type tostring, and format from no format touuid - info
for the
pathrequest parametersaleId, the type was generalized from no type tostring, and format from no format touuid - 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 - info
added the required property
to the response with the status
- breaking
- info
api operation id
create-sale-line-addonremoved and replaced withpos_possale_createSaleLineAddon
- info