Suppliers

Rename a supplier

Changed on
patch/suppliers/{supplierId}

Request

  • Base URL: https://api.greentally.ai/v1
  • URL: https://api.greentally.ai/v1/suppliers/{supplierId}
  • Auth: HTTP bearer

Path parameters

supplierIdstring required

Request body

countryCodestring

Manual country override: an ISO-3166 alpha-3 code, or GLOBAL. An empty string clears the override and restores the researched country. Omitting the field leaves it unchanged. Absent and null are the same thing to the generated client type, which is why clearing is spelled as an empty string.

namestring

Omit to leave the name alone. An override edit should not have to echo it back — a stale value would silently rename the supplier as a side effect of correcting its sector.

sectorCodestring

Manual ISIC section override, A..U — the 21 sections, not the divisions. An empty string clears the override and restores the researched sector. Omitting the field leaves it unchanged.

Response

Supplier updated

metaobject

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      the request property became optional