def METHOD_NAME(self, product, product_key, branch, version, build_number, revision, headers={}):
    """Method to map over the POST /releases/ API in Ship-it"""
    resp = None
    params = {"product": product, "branch": branch, "version": version, "build_number": build_number, "revision": revision, "partial_updates": "auto"}
    # some products such as Fennec take an additional argument to differentiate
    # between the flavors
    if product_key:
        params.update({"product_key": product_key})
    # guard the partials parameter to non-Fennec to prevent 400 BAD REQUEST
    if product == "fennec":
        del params["partial_updates"]
    data = json.dumps(params)
    try:
        resp = self._request(api_endpoint="/releases", method="POST", data=data, headers=headers)
        return resp.json()
    except Exception:
        log.error("Caught error while creating the release", exc_info=True)
        if resp:
            log.error(resp.content)
            log.error(f"Response code: {resp.status_code}")
        raise