original_string: public function create(Collect &$collect)
      {
          $data = $collect->exportData();
          $endpoint = '/admin/collects.json';
          $response = $this->request(
              $endpoint, 'POST', array(
              'collect' => $data
              )
          );
          $collect->setData($response['collect']);
      }
code: public function create(Collect &$collect)
      {
          $data = $collect->exportData();
          $endpoint = '/admin/collects.json';
          $response = $this->request(
              $endpoint, 'POST', array(
              'collect' => $data
              )
          );
          $collect->setData($response['collect']);
      }
code_tokens: public function create ( Collect & $ collect ) { $ data = $ collect -> exportData ( ) ; $ endpoint = '/admin/collects.json' ; $ response = $ this -> request ( $ endpoint , 'POST' , array ( 'collect' => $ data ) ) ; $ collect -> setData ( $ response [ 'collect' ] ) ; }
docstring: Create a new collect
  
  @link   https://help.shopify.com/api/reference/collect#create
  @param  Collect $collect
  @return void
docstring_tokens: Create a new collect