The POST API and Persistence

The Integration API includes persistence from a couple of perspectives as well as tools to empower usage.

After you import the Integration Object into SAP Commerce Cloud, the environment is ready for you to POST the data through the exposed endpoint.

A POST endpoint appears as a RESTful web service and takes an XML-based ATOM format or JSON representation of one or more Integration Objects as a request. Additionally, POST requests in the Integration API provide UPSERT functionality, allowing the creation and update of Integration Objects with a POST request.

A successful request returns the HTTP Status code 201 and an ODataResponse as a JSON payload. A JSON-formatted response looks similar to the following:
{
	"error": {
		"code": "runtime_error",
		"message": (
			"lang": "en",
			"value":  "There was an error encountered during the processing of the integration object. The detailed cause of this error is visible in the log."
		}
	}
}