public function putCheck($check, $queueName = null)
    {
        if ($queueName === null) {
            if ($this->defaultQueue === null) {
                throw new \LogicException('Default queue is not set');
            }
            $queueName = $this->defaultQueue;
        }

        if (!$this->hasQueue($queueName)) {
            throw new \InvalidArgumentException(sprintf('Unknown queue "%s"', $queueName));
        }

        $path = sprintf('api/shop/v1/queues/%s/task', $this->queues[$queueName]);
        return $this->client->sendRequest($path, $check->asArray());
    }