Integrator Guide

Introduction

A series of Weedmaps resources must be retrieved and created with this API to integrate your platform. This guide will take you through each step in the process. Along the way, we will use the API Reference to generate cURL commands which, when run in your terminal, will perform the necessary API requests.

Here is an example of what the generated cURL command would look like for creating a Brand:

curl --globoff \
  --request POST \
  --url 'https://api-g.weedmaps.com/catalog/v1/brands?scope_by[organization_id]=7aaee038-06fb-4539-a134-6382bc1985bd' \
  --header 'accept: application/vnd.api+json' \
  --header 'authorization: Bearer [ACCESS TOKEN HERE]' \
  --header 'content-type: application/vnd.api+json' \
  --data '{
  	"data": {
    	"attributes": {
      	"name": "The A-Team",
        "is_master": false
      },
      "relationships": {
      	"organization": {
        	"data": {
          	"type": "organizations",
            "id": "7aaee038-06fb-4539-a134-6382bc1985bd"
          }
        }
      },
      "type": "brands"
    }
  }'