Vendors

Create a new vendor

Create a new vendor.

Creates a vendor for the authenticated MerchantOS team.

POST
/merchantos/vendors
x-access-token<token>

In: header

Request Body

application/json

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/merchantos/vendors" \  -H "Content-Type: application/json" \  -d '{    "vendor_name": "string",    "company_name": "string",    "address": "string",    "city": "string",    "state": "string",    "zip_code": "string",    "country": "string"  }'
{  "id": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "vendor_name": "string",  "company_name": "string",  "address": "string",  "address_2": "string",  "city": "string",  "state": "string",  "zip_code": "string",  "country": "string",  "contact_person_name": "string",  "contact_email": "string",  "contact_phone": "string",  "internal_notes": "string",  "merchant_team_id": "string",  "merchant_team_name": "string",  "fulfiller_team_id": "string",  "fulfiller_team_name": "string",  "products": [    {      "id": "string",      "name": "string",      "sku": "string",      "image_url": "string"    }  ]}