Create Vendor
Create a Supplier
POST /vendors
Create a new vendor. In the response body, the id
property is what you will use for accessing all other resources for that vendor (aka. vendorId
). Ensure to persist this in your DB.
Request
Response
Important Recommendations:
name
field MUST be as close as possible to the real vendor name.Use the
senderName
field to display short/user-friendly names. We displaysenderName
externally.name
is used as an internal reference.address
field should be a full string with as much detail as possible. We use this to identify vendor industryuindustry
can be any descriptive string. We normalise the industry on our side.
Notes:
If you want to enable Facebook reviews, provide the
facebookUrl
property in body request. You can update this later in the Update request...
indicates that more fields may be returned here in future.
Last updated