Corporate Purchase

Update a Corporate Purchase

Use this route to update the description and the tags of a corporate purchase. A purchase is settled by the card network, so every other field is read-only. NOTE:Each update creates an updated log, and the request body must contain at least one of description or tags.

patch/v2/corporate-purchase/{id}

Request

  • Base URL
    https://api.starkbank.com
  • URL
    https://api.starkbank.com/v2/corporate-purchase/{id}
  • Auth
    API key in header Digital-Signature

Path parameters

idstring required

Id of the corporate purchase entity. Example: "5353197895942144".

Request body

descriptionstring

New description for the purchase. Max of 140 characters. Example: "Team lunch".

tagsstring[]

New array of strings to tag the purchase. Max of 100 tags of up to 100 characters each. All tags will be converted to lowercase.

Response

Successful operation

object required

Changes

No recorded changes to this operation across all 1 revision of this API.