v1

latestOpenAPI 3.0.02026-07-1427437.7 KB
Purchase information

Create purchase information

Creates purchase information for a given client profile.

Learn more about the Profile System and its other API endpoints.

post/api/storage/profile-system/profiles/{profileId}/purchase-info

Path parameters

profileIdstring required
Example:70caf394-8534-447e-a0ca-1803c669c771

ID of the client's profile as returned by the Create profile endpoint's response, in the id field. It can also be an alternativeKey according to your custom profile schema. In this case, this request should also send the alternativeKey parameter.

Query parameters

alternativeKeystring
Example:email

The profileId path parameter may be substituted by other profile fields in this request. When making this request, send the alternativeKey parameter with a value equal to the key of the field you wish to use as profileId.

Currently, there are two possible values for this parameter: email and document.

Headers

Content-Typestring required
Example:application/json

Type of the content being sent.

Acceptstring required
Example:application/json

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Request body

{"stackTrail":"paths:/api/storage/profile-system/profiles/{profileId}/purchase-info:post:requestBody:content:application/json:schema","oasType":"schema","type":"unknown"}

Response

Created

object required