protected function createOrder( $baseId )
	{
		$context = $this->getContext();
		$cntl = \Aimeos\Controller\Frontend::create( $context, 'order' );
		$item = $cntl->add( $baseId, ['order.type' => 'jsonapi'] )->store();

		$context->getSession()->set( 'aimeos/orderid', $item->getId() );

		return $item;
	}